Skip to content

Commit ca7c52a

Browse files
author
Greg Bowler
authored
Upgrade webpack defaults for ES6 compilation (#443)
* PHP 8 compatibility * Upgrade webpack default ES6 configuration
1 parent 20e4da8 commit ca7c52a

File tree

2 files changed

+113
-113
lines changed

2 files changed

+113
-113
lines changed

build.default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"execute": {
99
"command": "webpack",
10-
"arguments": ["script/main.es6", "-o", "www/script.js", "--devtool", "source-map", "--module-bind", "js=babel-loader"]
10+
"arguments": ["--entry","script/main.es6", "-o", "www/script.js", "--devtool", "source-map", "--mode", "production"]
1111
}
1212
},
1313

0 commit comments

Comments
 (0)