Skip to content

Commit 016e791

Browse files
committed
docs: update vite qa
1 parent c7d528f commit 016e791

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/_posts/vite/qa.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ cover:
88

99
在 2022 年初投产了第一个 Vite 应用到产线,陆续处理的问题 Case,挑选一些记录下来。
1010

11+
若改造旧的 webpack 应用,推荐参照 [webpack-to-vite](https://github.com/originjs/webpack-to-vite/blob/main/README-zh.md) 理解更多差异。
12+
1113
## 应用中需要支持 `require` 语法
1214

1315
应用代码中,通常不再建议使用 `require`,应当都替换为 `import`.

0 commit comments

Comments
 (0)