mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-16 13:58:50 +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({
|
export default defineNuxtConfig({
|
||||||
extends: [".."],
|
extends: [".."],
|
||||||
|
vite: {
|
||||||
|
build: {
|
||||||
|
rollupOptions: {
|
||||||
|
external: ["shiki/wasm"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
modules: ["@nuxt/eslint", "@nuxt/fonts", "nuxt-shiki"],
|
modules: ["@nuxt/eslint", "@nuxt/fonts", "nuxt-shiki"],
|
||||||
tailwindcss: {
|
tailwindcss: {
|
||||||
config: {
|
config: {
|
||||||
@ -15,7 +22,16 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
shiki: {
|
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"],
|
bundledThemes: ["light-plus", "dark-plus"],
|
||||||
highlightOptions: {
|
highlightOptions: {
|
||||||
themes: {
|
themes: {
|
||||||
|
Loading…
Reference in New Issue
Block a user