1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/frontend/webpack/production.js

21 lines
547 B
JavaScript
Raw Normal View History

2016-12-12 14:18:44 +02:00
// const plugins = require('./plugins');
const base = require('./base');
2016-10-20 04:14:26 +03:00
module.exports = Object.assign(base, {
devtool: 'hidden-source-map',
plugins: base.plugins.concat([
// plugins['occurrence-order'],
// plugins['aggressive-merging'],
// plugins['uglify-js']
])
2016-10-20 04:14:26 +03:00
});
2016-12-12 12:56:48 +02:00
/**
2016-10-20 04:14:26 +03:00
* 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
2016-12-12 12:56:48 +02:00
**/