joyent-portal/frontend/webpack/test.js

16 lines
284 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-12 18:27:33 +02:00
resolve: base.resolve,
2016-10-24 14:23:05 +03:00
output: {
2016-10-24 14:41:17 +03:00
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
};