Skip to content

Commit

Permalink
Upgrade webpack defaults for ES6 compilation (#443)
Browse files Browse the repository at this point in the history
* PHP 8 compatibility

* Upgrade webpack default ES6 configuration
  • Loading branch information
g105b authored Mar 11, 2021
1 parent 20e4da8 commit ca7c52a
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 113 deletions.
2 changes: 1 addition & 1 deletion build.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"execute": {
"command": "webpack",
"arguments": ["script/main.es6", "-o", "www/script.js", "--devtool", "source-map", "--module-bind", "js=babel-loader"]
"arguments": ["--entry","script/main.es6", "-o", "www/script.js", "--devtool", "source-map", "--mode", "production"]
}
},

Expand Down
Loading

0 comments on commit ca7c52a

Please sign in to comment.