feat: 新增了代码编辑插件的主题选择(当然样式还是没改)
This commit is contained in:
1 parent
2d401f7a17
commit
f8ca6dba67
4 files changed
+91
-33
No files matched your search
+5
-8
@@ -64,14 +64,11 @@ export default defineConfig({
|
||||
output: {
|
||||
// 配置输出为单文件
|
||||
// inlineDynamicImports: true,
|
||||
// manualChunks(id) {
|
||||
// if (id.includes('node_modules')) {
|
||||
// return 'vendor'
|
||||
// }
|
||||
// if (id.includes('@codemirror')) {
|
||||
// return 'codemirror'
|
||||
// }
|
||||
// },
|
||||
manualChunks(id) {
|
||||
if (id.includes('@codemirror')) {
|
||||
return id.split('@')[1].replace('+', '-')
|
||||
}
|
||||
}
|
||||
// entryFileNames: 'bundle.js',
|
||||
// format: 'iife', // 立即执行函数格式
|
||||
// name: 'MyBundle'
|
||||
|
||||
Reference in new issue
Block a user