Skip to content

Commit

Permalink
Remove the comment in config
Browse files Browse the repository at this point in the history
  • Loading branch information
196lgf committed Oct 2, 2021
1 parent edecef3 commit 32bfe75
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions react+typescript/config/plugins/styleImport.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
// vite-plugin-imp 该插件按需加载存在部分样式丢失的情况
// 由于 vite 本身已按需导入了组件库,因此仅样式不是按需导入的,因此只需按需导入样式即可。
/**
* @note antd我并未安装,如果安装了ant,可以将下面的注释去掉
*/

import styleImport from 'vite-plugin-style-import';

export default function configStyleImport() {
Expand Down

0 comments on commit 32bfe75

Please sign in to comment.