chore(pacakge): bump webpack

This commit is contained in:
Daniel 2018-03-19 13:13:55 +01:00
parent 9e2e902b18
commit a1c4d48f54
3 changed files with 993 additions and 425 deletions

1409
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@
"@types/lodash": "^4.14.105", "@types/lodash": "^4.14.105",
"@types/node": "8.0.47", "@types/node": "8.0.47",
"@types/rimraf": "^2.0.2", "@types/rimraf": "^2.0.2",
"@types/webpack": "^3.8.1", "@types/webpack": "^4.1.1",
"async-promise-queue": "^1.0.4", "async-promise-queue": "^1.0.4",
"babel-core": "^6.26.0", "babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1", "babel-preset-env": "^1.6.1",
@ -63,9 +63,9 @@
"tslint": "5.8.0", "tslint": "5.8.0",
"tslint-ionic-rules": "0.0.11", "tslint-ionic-rules": "0.0.11",
"typescript": "2.6.2", "typescript": "2.6.2",
"uglifyjs-webpack-plugin": "^1.1.2", "uglifyjs-webpack-plugin": "^1.2.4",
"unminified-webpack-plugin": "^1.4.2", "unminified-webpack-plugin": "^2.0.0",
"webpack": "^3.9.1", "webpack": "^4.1.1",
"winston": "^3.0.0-rc1", "winston": "^3.0.0-rc1",
"zone.js": "^0.8.20" "zone.js": "^0.8.20"
}, },

View File

@ -15,6 +15,7 @@ const INJECTABLE_CLASSES = fs.readJSONSync(EMIT_PATH).map((item: InjectableClass
}); });
const webpackConfig: webpack.Configuration = { const webpackConfig: webpack.Configuration = {
mode: 'production',
entry: INDEX_PATH, entry: INDEX_PATH,
devtool: 'source-map', devtool: 'source-map',
target: 'web', target: 'web',