You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/webpack.installer.js

25 lines
397 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].min.js',
path: path.resolve(__dirname, 'build/public'),
publicPath: `/assets/`,
},
resolve: {
symlinks: false,
modules: [
'public/src',
'node_modules',
],
},
};