2024-01-17 11:46:13 +00:00
|
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
|
|
|
|
const testWithInlineVue = process.env.EXTERNAL_VUE === 'false'
|
|
|
|
|
|
|
|
export default defineNuxtConfig({
|
2024-10-16 21:52:04 +00:00
|
|
|
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
|
|
|
|
sourcemap: false,
|
2024-04-30 19:34:32 +00:00
|
|
|
future: { compatibilityVersion: process.env.TEST_V4 === 'true' ? 4 : 3 },
|
2024-01-17 11:46:13 +00:00
|
|
|
experimental: {
|
2024-04-05 18:08:32 +00:00
|
|
|
externalVue: !testWithInlineVue,
|
2024-01-17 11:46:13 +00:00
|
|
|
},
|
2024-10-16 21:52:04 +00:00
|
|
|
compatibilityDate: '2024-06-28',
|
2024-01-17 11:46:13 +00:00
|
|
|
nitro: {
|
2024-04-05 18:08:32 +00:00
|
|
|
output: { dir: fileURLToPath(new URL(testWithInlineVue ? './.output-inline' : './.output', import.meta.url)) },
|
2024-01-17 11:46:13 +00:00
|
|
|
},
|
|
|
|
})
|