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, {
|
|
|
|
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
|
|
|
};
|