mailtrain/mvis/client/webpack.config.js
2019-01-04 21:31:01 +01:00

16 lines
No EOL
518 B
JavaScript

const webpack = require('webpack');
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;