mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
6d5922e399
- better stack traces - disable hmr (for now) - runtime eslint - remove all async/await stuff (untill we actually need it) - reaload when modules change - show full path in compiled requires - ignore node dependencies - don't instantiate plugins unless required
18 lines
381 B
JavaScript
18 lines
381 B
JavaScript
const base = require('./base');
|
|
const plugins = require('./plugins');
|
|
|
|
module.exports = {
|
|
context: base.context,
|
|
resolve: base.resolve,
|
|
resolveLoader: base.resolveLoader,
|
|
output: Object.assign(base.output, {
|
|
libraryTarget: 'commonjs2',
|
|
}),
|
|
plugins: [
|
|
plugins['named-modules'](),
|
|
plugins['no-errors'](),
|
|
plugins['define']()
|
|
],
|
|
module: base.module
|
|
};
|