Before acting

This commit is contained in:
2024-09-10 12:06:27 +02:00
parent 0c681bf4ff
commit e2892bad0b
91 changed files with 50 additions and 28293 deletions

View File

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