mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
|
|
const testWithInlineVue = process.env.EXTERNAL_VUE === 'false'
|
|
|
|
export default defineNuxtConfig({
|
|
experimental: {
|
|
externalVue: !testWithInlineVue
|
|
},
|
|
buildDir: testWithInlineVue ? '.nuxt-inline' : '.nuxt',
|
|
nitro: {
|
|
output: { dir: fileURLToPath(new URL(testWithInlineVue ? './.output-inline' : './.output', import.meta.url)) }
|
|
},
|
|
sourcemap: false
|
|
})
|