Skip to content

Commit

Permalink
πŸ“¦ Migrate to Webpack 5. (#5462)
Browse files Browse the repository at this point in the history
* ♻️ Strip default arguments from Webpack commands

* πŸ“¦ Update packages to Webpack 5 versions and add polyfills

* 🎨 Use correct red tone

* 🚧 Begin working on Webpack 5 support for playground

* πŸ‘½ Migrate Playground to Webpack 5

* πŸ‘½ Update Pixi to Webpack 5 and use Terser over Closure Compiler

* βž– Remove unused dependencies.

* 🚨 Fix linter warnings.
  • Loading branch information
matthiasrohmer authored Mar 2, 2021
1 parent 80c1555 commit e156568
Show file tree
Hide file tree
Showing 8 changed files with 1,207 additions and 31,231 deletions.
2 changes: 1 addition & 1 deletion frontend21/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = (env, argv) => {
return {
entry: path.join(__dirname, 'amp-dev.js'),
output: {
filename: 'static/[name].[hash].js',
filename: 'static/[name].[contenthash].js',
chunkFilename: 'static/[name].[chunkhash].bundle.js',
sourceMapFilename: 'static/[name].map',
publicPath: isDevelopment ? 'http://localhost:8090/' : '/',
Expand Down
Loading

0 comments on commit e156568

Please sign in to comment.