Files
NodeBB/webpack.installer.js

25 lines
397 B
JavaScript
Raw Normal View History

2022-02-14 21:35:33 -05:00
// webpack config for webinstaller
'use strict';
const path = require('path');
module.exports = {
mode: 'production',
entry: {
installer: './public/src/installer/install.js',
},
output: {
2022-02-21 19:04:19 -05:00
filename: '[name].min.js',
2022-03-11 14:27:34 -05:00
path: path.resolve(__dirname, 'build/public'),
2022-02-21 19:04:19 -05:00
publicPath: `/assets/`,
2022-02-14 21:35:33 -05:00
},
resolve: {
symlinks: false,
modules: [
'public/src',
'node_modules',
],
},
};