mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
17 lines
524 B
TypeScript
17 lines
524 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
|
|
const testWithInlineVue = process.env.EXTERNAL_VUE === 'false'
|
|
|
|
export default defineNuxtConfig({
|
|
future: { compatibilityVersion: process.env.TEST_V4 === 'true' ? 4 : 3 },
|
|
compatibilityDate: '2024-06-28',
|
|
experimental: {
|
|
externalVue: !testWithInlineVue,
|
|
},
|
|
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
|
|
nitro: {
|
|
output: { dir: fileURLToPath(new URL(testWithInlineVue ? './.output-inline' : './.output', import.meta.url)) },
|
|
},
|
|
sourcemap: false,
|
|
})
|