Skip to content

Commit

Permalink
fix: update readme-zh
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterAlfredLee committed Aug 17, 2021
1 parent bfe9de3 commit 2fcdf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ webpack-to-vite -d <project path>
* ⚠️ B10: CSS Modules
* 在 vite 中,任何以 `.module.css` 为后缀名的 CSS 文件都被认为是一个 CSS modules 文件
* 这意味着您需要将以 `.css` 为后缀的文件转换为以 `.module.css` 为后缀的文件来实现 CSS Modules
* ⚠️ B11: 插件暴露的默认值
* ⚠️ B11: 插件暴露的默认值
*`index.html` 包含 `htmlWebpackPlugin.options.variableName` 时,会出现 `htmlWebpackPlugin is not defined` 错误,您需要在 `vite.config.js` 中添加插件选项:

```
Expand Down

0 comments on commit 2fcdf41

Please sign in to comment.