Skip to content

Commit 2578d5f

Browse files
committed
Upgrade webpack to v3
1 parent 88a5acd commit 2578d5f

File tree

4 files changed

+75
-43
lines changed

4 files changed

+75
-43
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Please make sure to read the [Contributing Guide](https://github.com/eleme/eleme
8989
## Acknowledgments
9090

9191
* [@doxiaodong](https://github.com/doxiaodong) for adding typescript ambient declarations.
92+
* [@cuining](https://github.com/cuining) for building the live code editor.
9293

9394
## Credits
9495

build/site/webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
new HtmlWebpackPlugin({ template: './index.html' })
2020
].concat(process.env.TRAVIS_CI ? [] : [
2121
new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
22+
new webpack.optimize.ModuleConcatenationPlugin(),
2223
new webpack.optimize.UglifyJsPlugin({
2324
mangle: {
2425
keep_fnames: true

package-lock.json

+72-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"style-loader": "^0.18.2",
6666
"typescript": "^2.4.0",
6767
"url-loader": "^0.5.8",
68-
"webpack": "^2.6.1",
68+
"webpack": "^3.0.0",
6969
"webpack-dev-server": "^2.4.5"
7070
},
7171
"dependencies": {

0 commit comments

Comments
 (0)