1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-12 04:50:06 +02:00
copilot/frontend/webpack/test.js

18 lines
375 B
JavaScript
Raw Normal View History

2016-12-12 18:27:33 +02:00
const base = require('./base');
const plugins = require('./plugins');
2016-10-24 14:23:05 +03:00
module.exports = {
2016-12-14 00:09:04 +02:00
context: base.context,
2016-12-12 18:27:33 +02:00
resolve: base.resolve,
2016-12-14 00:09:04 +02:00
resolveLoader: base.resolveLoader,
output: Object.assign(base.output, {
libraryTarget: 'commonjs2',
}),
2016-10-24 14:23:05 +03:00
plugins: [
2016-12-12 12:56:48 +02:00
plugins['named-modules'],
2016-12-06 13:14:48 +02:00
plugins['no-errors'],
plugins['define']
2016-10-24 14:23:05 +03:00
],
2016-12-12 18:27:33 +02:00
module: base.module
2016-10-24 16:11:50 +03:00
};