2018-12-25 19:13:32 +00:00
|
|
|
const webpack = require('webpack');
|
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
const webpackConf = require('../ivis-core/client/webpack.config');
|
|
|
|
|
2019-01-04 20:31:01 +00:00
|
|
|
webpackConf.resolve.modules = ['node_modules', '../ivis-core/client/node_modules'];
|
2018-12-25 19:13:32 +00:00
|
|
|
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;
|