diff --git a/demo/webpack.config.js b/demo/webpack.config.js index 70d3275..fad284f 100644 --- a/demo/webpack.config.js +++ b/demo/webpack.config.js @@ -14,7 +14,6 @@ module.exports = { loader: 'ts-loader', options: { compilerOptions: { - checkJs: false, // workaround for TypeStrong/ts-loader#702 noEmit: false, }, configFile: resolve(__dirname, './tsconfig.json'), diff --git a/package.json b/package.json index dd3a5e1..93120f4 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "scripts": { "build": "npm run clean && babel src -d lib --extensions '.js,.ts' --ignore '**/*.spec.js','**/*.spec.ts' && npm run build-types", - "build-demo": "webpack --config demo/webpack.config.js", + "build-demo": "wp --config demo/webpack.config.js", "build-types": "tsc -p ./tsconfig.types.json", "clean": "rimraf lib/*", "format": "prettier --write 'src/**'", @@ -68,8 +68,8 @@ "ts-jest": "^26.4.4", "ts-loader": "^6.1.0", "typescript": "^3.6.3", - "webpack": "^4.17.2", - "webpack-command": "^0.4.1" + "webpack": "^5.0.0", + "webpack-nano": "^1.1.1" }, "dependencies": { "escape-string-regexp": "^1.0.0"