Intermédiaire

This commit is contained in:
2021-04-02 11:26:26 +02:00
parent d2eefb6b5f
commit 0c681bf4ff
559 changed files with 39669 additions and 49754 deletions

View File

@@ -0,0 +1,23 @@
// webpack.config.js
'use strict';
const path = require( 'path' );
module.exports = {
// https://webpack.js.org/configuration/entry-context/
entry: './www/src/app.js',
// https://webpack.js.org/configuration/output/
output: {
path: path.resolve( __dirname, './www/assets/js' ),
filename: 'bundle.js'
},
// Useful for debugging.
devtool: 'source-map',
// By default webpack logs warnings if the bundle is bigger than 200kb.
performance: { hints: false }
}