1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 15:20:06 +02:00
copilot/frontend/webpack/test.js

18 lines
380 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, {
2017-02-20 16:51:54 +02:00
libraryTarget: 'commonjs2'
2016-12-14 00:09:04 +02:00
}),
2016-10-24 14:23:05 +03:00
plugins: [
plugins['named-modules'](),
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
};