2022-11-16 10:04:28 +00:00
|
|
|
import { withTrailingSlash } from 'ufo'
|
2022-10-13 15:49:06 +00:00
|
|
|
|
2022-10-06 09:15:30 +00:00
|
|
|
export default defineNuxtConfig({
|
2022-11-16 10:04:28 +00:00
|
|
|
extends: process.env.WEBSITE_THEME ? withTrailingSlash(process.env.WEBSITE_THEME) : 'nuxt-website-theme',
|
2022-10-17 10:10:05 +00:00
|
|
|
build: {
|
2022-11-16 10:04:28 +00:00
|
|
|
transpile: [/nuxt-website-theme/]
|
2022-10-17 10:10:05 +00:00
|
|
|
},
|
2023-01-12 12:36:33 +00:00
|
|
|
experimental: { inlineSSRStyles: false },
|
2022-10-12 16:45:10 +00:00
|
|
|
nitro: {
|
2022-11-16 10:04:28 +00:00
|
|
|
esbuild: {
|
|
|
|
options: {
|
|
|
|
exclude: []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
vite: {
|
|
|
|
server: {
|
|
|
|
fs: {
|
|
|
|
allow: [
|
|
|
|
process.env.WEBSITE_THEME || '.'
|
|
|
|
]
|
|
|
|
}
|
2022-10-12 16:45:10 +00:00
|
|
|
}
|
|
|
|
}
|
2021-06-07 11:49:37 +00:00
|
|
|
})
|