joyent-portal/ui/docs/webpack/production.js
Sérgio Ramos 557cd5a291 wip rm css
2016-12-12 10:28:47 +00:00

21 lines
531 B
JavaScript

const path = require('path');
const plugins = require('./plugins');
const base = require('./base');
module.exports = Object.assign(base, {
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
*/