diff --git a/nuxt.config.js b/nuxt.config.js index 46455bd..571f462 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -75,8 +75,10 @@ export default { // Build Configuration: https://go.nuxtjs.dev/config-build build: { publicPath: './_nuxt/', - extend(config) { - config.output.publicPath = './_nuxt/' + extend(config, { isDev }) { + if (!isDev) { + config.output.publicPath = './_nuxt/' + } }, },