Files
NodeBB/webpack.installer.js
Barış Soner Uşaklı a1a1e8da18 feat: webpack 5 part 1
2022-02-14 21:35:33 -05:00

26 lines
427 B
JavaScript

// 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',
],
},
};