Nuxt/test/fixtures/modern/nuxt.config.js

14 lines
264 B
JavaScript

export default {
modern: true,
build: {
filenames: {
app: ({ isModern }) => {
return `${isModern ? 'modern-' : ''}[name].js`
},
chunk: ({ isModern }) => {
return `${isModern ? 'modern-' : ''}[name].js`
}
}
}
}