Skip to content

Commit b034bf0

Browse files
committed
fix ollup failed to resolve import "prismjs/themes/prism-TWILIGHT.css"
1 parent 93ffa28 commit b034bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default defineConfig({
1616
prismjsPlugin({
1717
languages: ['bash'],
1818
plugins: ['line-numbers', 'copy-to-clipboard'], //官网有其他功能,这里开启行数和复制按钮功能
19-
theme: 'TWILIGHT',
19+
theme: 'twilight',
2020
css: true,
2121
}),
2222
],

0 commit comments

Comments
 (0)