Skip to content

Commit 8b81330

Browse files
Merge pull request #9 from wimpyprogrammer/snyk-fix-a756d8e4e90ecad7e1047f99fae59a28
[Snyk] Security upgrade webpack from 4.44.2 to 5.0.0
2 parents 4db67cf + 6152519 commit 8b81330

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

demo/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ module.exports = {
1414
loader: 'ts-loader',
1515
options: {
1616
compilerOptions: {
17-
checkJs: false, // workaround for TypeStrong/ts-loader#702
1817
noEmit: false,
1918
},
2019
configFile: resolve(__dirname, './tsconfig.json'),

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"scripts": {
2121
"build": "npm run clean && babel src -d lib --extensions '.js,.ts' --ignore '**/*.spec.js','**/*.spec.ts' && npm run build-types",
22-
"build-demo": "webpack --config demo/webpack.config.js",
22+
"build-demo": "wp --config demo/webpack.config.js",
2323
"build-types": "tsc -p ./tsconfig.types.json",
2424
"clean": "rimraf lib/*",
2525
"format": "prettier --write 'src/**'",
@@ -68,8 +68,8 @@
6868
"ts-jest": "^26.4.4",
6969
"ts-loader": "^6.1.0",
7070
"typescript": "^3.6.3",
71-
"webpack": "^4.17.2",
72-
"webpack-command": "^0.4.1"
71+
"webpack": "^5.0.0",
72+
"webpack-nano": "^1.1.1"
7373
},
7474
"dependencies": {
7575
"escape-string-regexp": "^1.0.0"

0 commit comments

Comments
 (0)