rsnext/test/integration/css-fixtures/custom-configuration-legacy/next.config.js
2019-12-30 17:53:35 -06:00

15 lines
292 B
JavaScript

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