forked from Mirrors/elk
43 lines
738 B
TypeScript
43 lines
738 B
TypeScript
export default defineNuxtConfig({
|
|
ssr: false,
|
|
modules: [
|
|
'@vueuse/nuxt',
|
|
'@unocss/nuxt',
|
|
'@pinia/nuxt',
|
|
'@vue-macros/nuxt',
|
|
],
|
|
experimental: {
|
|
reactivityTransform: true,
|
|
inlineSSRStyles: false,
|
|
},
|
|
css: [
|
|
'@unocss/reset/tailwind.css',
|
|
'~/styles/vars.css',
|
|
'~/styles/global.css',
|
|
],
|
|
alias: {
|
|
querystring: 'rollup-plugin-node-polyfills/polyfills/qs',
|
|
},
|
|
vite: {
|
|
define: {
|
|
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
|
|
},
|
|
build: {
|
|
target: 'esnext',
|
|
},
|
|
|
|
},
|
|
postcss: {
|
|
plugins: {
|
|
'postcss-nested': {},
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
cloudflare: {
|
|
accountId: '',
|
|
namespaceId: '',
|
|
apiToken: '',
|
|
},
|
|
},
|
|
})
|