1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00
copilot/frontend/webpack/production.js
2016-12-12 12:18:44 +00:00

24 lines
580 B
JavaScript

// const plugins = require('./plugins');
const base = require('./base');
module.exports = Object.assign(base, {
devtool: 'hidden-source-map',
entry: [
'./index.js'
],
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
**/