Nuxt/test/fixtures/suspense/nuxt.config.ts

15 lines
413 B
TypeScript
Raw Permalink Normal View History

import { fileURLToPath } from 'node:url'
const testWithInlineVue = process.env.EXTERNAL_VUE === 'false'
export default defineNuxtConfig({
experimental: {
externalVue: !testWithInlineVue,
},
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
nitro: {
output: { dir: fileURLToPath(new URL(testWithInlineVue ? './.output-inline' : './.output', import.meta.url)) },
},
sourcemap: false,
})