mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
6318438415
Co-authored-by: Daniel Roe <daniel@roe.dev>
15 lines
330 B
TypeScript
15 lines
330 B
TypeScript
import { defineNuxtConfig } from '@nuxt/kit'
|
|
|
|
// @ts-ignore
|
|
global.__NUXT_PREPATHS__ = (global.__NUXT_PREPATHS__ || []).concat(__dirname)
|
|
|
|
export default defineNuxtConfig({
|
|
buildModules: [
|
|
'@nuxt/nitro/compat'
|
|
],
|
|
buildDir: process.env.NITRO_BUILD_DIR,
|
|
nitro: {
|
|
output: { dir: process.env.NITRO_OUTPUT_DIR }
|
|
}
|
|
})
|