1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/frontend/webpack/test.js
2016-12-13 22:13:46 +00:00

18 lines
375 B
JavaScript

const base = require('./base');
const plugins = require('./plugins');
module.exports = {
context: base.context,
resolve: base.resolve,
resolveLoader: base.resolveLoader,
output: Object.assign(base.output, {
libraryTarget: 'commonjs2',
}),
plugins: [
plugins['named-modules'],
plugins['no-errors'],
plugins['define']
],
module: base.module
};