Skip to content

Commit 93ffa28

Browse files
committed
fiex Rollup failed to resolve import "prismjs/components/prism-Bash"
1 parent 8cde702 commit 93ffa28

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
@@ -14,7 +14,7 @@ export default defineConfig({
1414
wasm(),
1515
(monacoEditorPlugin as any).default({}),
1616
prismjsPlugin({
17-
languages: ['Bash'],
17+
languages: ['bash'],
1818
plugins: ['line-numbers', 'copy-to-clipboard'], //官网有其他功能,这里开启行数和复制按钮功能
1919
theme: 'TWILIGHT',
2020
css: true,

0 commit comments

Comments
 (0)