feat: webpack 5 part 1

This commit is contained in:
Barış Soner Uşaklı
2022-02-14 21:35:33 -05:00
parent 4043f1791d
commit a1a1e8da18
53 changed files with 2550 additions and 2308 deletions

25
webpack.installer.js Normal file
View File

@@ -0,0 +1,25 @@
// webpack config for webinstaller
'use strict';
const path = require('path');
module.exports = {
mode: 'production',
entry: {
installer: './public/src/installer/install.js',
},
output: {
filename: '[name].bundle.js',
chunkFilename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist'),
publicPath: '/dist/',
},
resolve: {
symlinks: false,
modules: [
'public/src',
'node_modules',
],
},
};