import { fileURLToPath } from 'node:url' const testWithInlineVue = process.env.EXTERNAL_VUE === 'false' export default defineNuxtConfig({ future: { compatibilityVersion: process.env.TEST_V4 === 'true' ? 4 : 3 }, pages: false, experimental: { externalVue: !testWithInlineVue, }, $production: { vite: { $client: { build: { rollupOptions: { output: { chunkFileNames: '_nuxt/[name].js', entryFileNames: '_nuxt/[name].js', }, }, }, }, }, }, buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt', nitro: { output: { dir: fileURLToPath(new URL(testWithInlineVue ? './.output-inline' : './.output', import.meta.url)) }, }, sourcemap: false, })