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 17:36:28 +00:00
|
|
|
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
|
|
|
|
sourcemap: false,
|
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 17:36:28 +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
|
|
|
},
|
|
|
|
})
|