引入 Tailwind CSS 和 shadcn/ui
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { defineConfig } from 'wxt';
|
||||
import type { Plugin } from 'vite';
|
||||
import postcssConfig from './postcss.config.js';
|
||||
|
||||
/**
|
||||
* 仅在 HTML 多入口构建(popup / options / sidepanel)中启用 manualChunks 拆分 vendor。
|
||||
@@ -94,5 +95,8 @@ export default defineConfig({
|
||||
},
|
||||
chunkSizeWarningLimit: 600,
|
||||
},
|
||||
css: {
|
||||
postcss: postcssConfig,
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user