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

16 lines
426 B
TypeScript
Raw Normal View History

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