mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
24 lines
564 B
JavaScript
24 lines
564 B
JavaScript
const plugins = require('./plugins');
|
|
const base = require('./base');
|
|
|
|
|
|
module.exports = Object.assign(base, {
|
|
devtool: 'eval-source-map',
|
|
entry: [
|
|
base.entry
|
|
],
|
|
plugins: base.plugins.concat([
|
|
plugins['occurrence-order'],
|
|
plugins['aggressive-merging'],
|
|
plugins['uglify-js']
|
|
])
|
|
});
|
|
|
|
/**
|
|
* Maybe add in the future:
|
|
* - https://github.com/lettertwo/appcache-webpack-plugin
|
|
* - https://github.com/NekR/offline-plugin
|
|
* - https://github.com/goldhand/sw-precache-webpack-plugin
|
|
* - https://github.com/Klathmon/imagemin-webpack-plugin
|
|
**/
|