-
Android 8 seem like don't support .mjs file or esm |
Beta Was this translation helpful? Give feedback.
Answered by
danielroe
Aug 11, 2022
Replies: 0 comments 5 replies
-
Hello same problem, can't change server configuration |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello same pb on OVH Web Cloud... |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've opened nuxt/framework#6505 to allow this to be done more easily (see PR description). But for now you can implement like this: nuxt.hook('vite:extendConfig', (config, { isClient }) {
if (isClient) {
// rc6
config.build.rollupOptions.output.chunkFileNames = '[hash].mjs'
// rc7
config.build.rollupOptions.output.chunkFileNames = '_nuxt/[hash].mjs'
}
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Binaryify
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've opened nuxt/framework#6505 to allow this to be done more easily (see PR description).
But for now you can implement like this: