rsnext/test/integration/css/next.config.js
Joe Haddad b4d349e6c1
Reduce Install Size (#8788)
* Reduce Install Size
This should shave a decent amount off our install size.

* Fix CSS source map emitting

* Fix generation

* Enable source maps for testing purposes

* Disable double comment

* Fix test regex
2019-09-18 13:59:46 -04:00

11 lines
254 B
JavaScript

module.exports = {
onDemandEntries: {
// Make sure entries are not getting disposed.
maxInactiveAge: 1000 * 60 * 60
},
experimental: { css: true, granularChunks: true },
webpack (cfg) {
cfg.devtool = 'source-map'
return cfg
}
}