zulip/tools/webpack.config.js

17 lines
360 B
JavaScript

var path = require('path');
module.exports = {
context: path.resolve(__dirname, "../"),
entry: {
translations: ['./static/js/translations.js'],
},
module: {
noParse: /(min)\.js/,
},
output: {
path: path.resolve(__dirname, '../static/webpack-bundles'),
filename: '[name].js',
},
plugins: [],
};