mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-15 07:50:20 +08:00
🐛 fix build
This commit is contained in:
parent
ac5a248380
commit
cc57e2e473
@ -2,6 +2,13 @@ import defaultTheme from "tailwindcss/defaultTheme";
|
||||
|
||||
export default defineNuxtConfig({
|
||||
extends: [".."],
|
||||
vite: {
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ["shiki/wasm"],
|
||||
},
|
||||
},
|
||||
},
|
||||
modules: ["@nuxt/eslint", "@nuxt/fonts", "nuxt-shiki"],
|
||||
tailwindcss: {
|
||||
config: {
|
||||
@ -15,7 +22,16 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
shiki: {
|
||||
bundledLangs: ["js", "ts", "json", "html", "css", "yaml", "vue", "vue-html"],
|
||||
bundledLangs: [
|
||||
"js",
|
||||
"ts",
|
||||
"json",
|
||||
"html",
|
||||
"css",
|
||||
"yaml",
|
||||
"vue",
|
||||
"vue-html",
|
||||
],
|
||||
bundledThemes: ["light-plus", "dark-plus"],
|
||||
highlightOptions: {
|
||||
themes: {
|
||||
|
Loading…
Reference in New Issue
Block a user