Skip to content

Commit fec9f69

Browse files
committed
Webpack cleanup
1 parent ccbfa90 commit fec9f69

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
"@types/archiver": "7.0.0",
102102
"@types/js-yaml": "4.0.9",
103103
"@types/luxon": "3.7.1",
104-
"@types/sarif": "^2.1.7",
105104
"@types/yargs": "17.0.33",
106105
"@types/yauzl": "2.10.3",
107106
"@vitest/coverage-v8": "3.2.4",

webpack.config.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const KEEP_FILES = [
1919
'.js',
2020
'.mjs',
2121
'.node',
22-
'.wasm',
2322
'mappingTable.json',
2423
'package.json',
2524
'pyodide-lock.json',
@@ -65,22 +64,10 @@ function createPlugins(isDevelopment, outputPath, mode, env, targetPlatform, tar
6564
}),
6665
);
6766

68-
// Copy Guard WASM assets and relationship schemas for both development and production
67+
// Copy relationship schemas for both development and production
6968
plugins.push(
7069
new CopyWebpackPlugin({
7170
patterns: [
72-
{
73-
from: 'src/services/guard/assets/guard.js',
74-
to: 'assets/guard.js',
75-
},
76-
{
77-
from: 'src/services/guard/assets/guard-wrapper.js',
78-
to: 'assets/guard-wrapper.js',
79-
},
80-
{
81-
from: 'src/services/guard/assets/guard_bg.wasm',
82-
to: 'assets/guard_bg.wasm',
83-
},
8471
{
8572
from: 'assets',
8673
to: 'assets',

0 commit comments

Comments
 (0)