2024-01-17 11:46:13 +00:00
|
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
|
|
|
|
const testWithInlineVue = process.env.EXTERNAL_VUE === 'false'
|
|
|
|
|
|
|
|
export default defineNuxtConfig({
|
2024-06-28 11:53:25 +00:00
|
|
|
compatibilityDate: '2024-06-28',
|
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
|
|
|
},
|
|
|
|
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
|
|
|
|
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
|
|
|
},
|
2024-04-05 18:08:32 +00:00
|
|
|
sourcemap: false,
|
2024-01-17 11:46:13 +00:00
|
|
|
})
|