mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
26 lines
490 B
TypeScript
26 lines
490 B
TypeScript
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/]
|
|
},
|
|
experimental: { inlineSSRStyles: false },
|
|
nitro: {
|
|
esbuild: {
|
|
options: {
|
|
exclude: []
|
|
}
|
|
}
|
|
},
|
|
vite: {
|
|
server: {
|
|
fs: {
|
|
allow: [
|
|
process.env.WEBSITE_THEME || '.'
|
|
]
|
|
}
|
|
}
|
|
}
|
|
})
|