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:
parent
1ee737f2ca
commit
9e509fe581
3 changed files with 533 additions and 0 deletions
|
@ -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
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue