mailtrain/mvis/client/webpack.config.js
2019-08-31 11:46:18 +02:00

15 lines
No EOL
484 B
JavaScript

const path = require('path');
const webpackConf = require('../ivis-core/client/webpack.config');
webpackConf.resolve.modules = ['node_modules', '../ivis-core/client/node_modules'];
webpackConf.entry = {
'index-trusted': ['@babel/polyfill', './src/root-trusted.js'],
'index-sandbox': ['@babel/polyfill', '../ivis-core/client/src/root-sandbox.js']
};
webpackConf.output = {
filename: '[name].js',
path: path.resolve(__dirname, 'dist')
};
module.exports = webpackConf;