fix: build error

This commit is contained in:
redhoodsu
2020-03-02 23:47:37 +08:00
parent eff75f0713
commit 103e45cd20
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
const webpackCfg = require('./script/webpack.dev')
webpackCfg.devtool = 'inline-source-map'
webpackCfg.module.loaders.push({
webpackCfg.module.rules.push({
test: /\.js$/,
exclude: /node_modules|lib\/util\.js/,
loader: 'istanbul-instrumenter-loader',

View File

@@ -49,14 +49,14 @@
"html-minifier": "^4.0.0",
"html-minifier-loader": "^1.4.1",
"istanbul-instrumenter-loader": "^3.0.1",
"jasmine-core": "^3.5.0",
"jasmine-core": "^2.99.1",
"jasmine-jquery": "^2.1.1",
"jquery": "^3.4.1",
"js-beautify": "^1.10.3",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^3.1.1",
"karma-jasmine": "^1.1.2",
"karma-jquery": "^0.2.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",