Nuxt/docs/nuxt.config.ts

25 lines
446 B
TypeScript
Raw Normal View History

import { withTrailingSlash } from 'ufo'
export default defineNuxtConfig({
extends: process.env.WEBSITE_THEME ? withTrailingSlash(process.env.WEBSITE_THEME) : 'nuxt-website-theme',
build: {
transpile: [/nuxt-website-theme/]
},
nitro: {
esbuild: {
options: {
exclude: []
}
}
},
vite: {
server: {
fs: {
allow: [
process.env.WEBSITE_THEME || '.'
]
}
}
}
2021-06-07 11:49:37 +00:00
})