Skip to content

Commit bf02194

Browse files
committed
Updated webpack version for JS examples
1 parent 5bb8a4e commit bf02194

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

js/example-frontend-js/npm/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"type": "git",
77
"url": "https://github.com/Kotlin/kotlinx.coroutines.git"
88
},
9-
"dependencies": {
10-
"webpack": "3.10.0",
11-
"html-webpack-plugin": "2.30.1",
12-
"style-loader": "0.19.1",
13-
"css-loader": "0.28.7"
14-
},
159
"devDependencies": {
16-
"webpack-dev-server": "2.9.7"
10+
"webpack": "4.29.1",
11+
"webpack-cli": "3.2.3",
12+
"webpack-dev-server": "3.1.14",
13+
"html-webpack-plugin": "3.2.0",
14+
"uglifyjs-webpack-plugin": "2.1.1",
15+
"style-loader": "0.23.1",
16+
"css-loader": "2.1.0"
1717
},
1818
"scripts": {
1919
"bundle": "webpack",

js/example-frontend-js/npm/webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const path = require("path");
1212
const dist = path.resolve(__dirname, "dist");
1313

1414
module.exports = {
15+
mode: "production",
1516
entry: {
1617
main: "main"
1718
},

0 commit comments

Comments
 (0)