1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

* Maintenance: Add SBOM generation to the webpack configuration.

This commit is contained in:
SirStendec 2024-10-11 15:25:39 -04:00
parent 1ee737f2ca
commit 9e509fe581
3 changed files with 533 additions and 0 deletions

View file

@ -4,6 +4,7 @@ const path = require('path');
const semver = require('semver');
const {exec, execSync} = require('child_process');
const { CycloneDxWebpackPlugin } = require('@cyclonedx/webpack-plugin');
const { VueLoaderPlugin } = require('vue-loader');
const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
const { EsbuildPlugin } = require('esbuild-loader');
@ -138,6 +139,11 @@ const config = {
},
plugins: [
new CycloneDxWebpackPlugin({
specVersion: '1.6',
outputLocation: './bom',
includeWellknown: false
}),
new CopyPlugin({
patterns: COPY_PATTERNS
}),