We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb3f93 commit 359ad0fCopy full SHA for 359ad0f
docs/nuxt.config.ts
@@ -23,9 +23,8 @@ export default defineNuxtConfig({
23
},
24
hooks: {
25
'vite:extendConfig'(config, { isClient }) {
26
- if (isClient) {
27
- // TODO: update when updating to rc7
28
- config.build.rollupOptions.output.chunkFileNames = '[hash].mjs'
+ if (isClient && !Array.isArray(config.build.rollupOptions.output)) {
+ config.build.rollupOptions.output.chunkFileNames = '_nuxt/[hash].mjs'
29
}
30
31
'tailwindcss:config'(config) {
0 commit comments