rsnext/test/integration/conformance/next.config.js

18 lines
324 B
JavaScript
Raw Normal View History

module.exports = {
experimental: {
conformance: true,
},
webpack(cfg, { dev, isServer }) {
if (!dev && !isServer) {
cfg.optimization.splitChunks.cacheGroups.vendors = {
chunks: 'initial',
name: 'vendor',
test: 'vendor',
enforce: true,
}
}
return cfg
},
}