2016-12-12 18:27:33 +02:00
|
|
|
const base = require('./base');
|
2016-12-05 22:11:55 +02:00
|
|
|
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: [
|
2017-02-07 17:52:24 +02:00
|
|
|
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
|
|
|
};
|