mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
b7e10e3956
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
16 lines
448 B
TypeScript
16 lines
448 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
|
|
const testWithInlineVue = process.env.EXTERNAL_VUE === 'false'
|
|
|
|
export default defineNuxtConfig({
|
|
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
|
|
sourcemap: false,
|
|
experimental: {
|
|
externalVue: !testWithInlineVue,
|
|
},
|
|
compatibilityDate: '2024-06-28',
|
|
nitro: {
|
|
output: { dir: fileURLToPath(new URL(testWithInlineVue ? './.output-inline' : './.output', import.meta.url)) },
|
|
},
|
|
})
|