Skip to content

Commit

Permalink
docs: v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Apr 28, 2023
1 parent 0949d3f commit babb391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -39,7 +39,7 @@ cases 👉 [vite-plugin-dynamic-import/test](https://github.com/vite-plugin/vite
dynamicImport({
filter(id) {
// `node_modules` is exclude by default, so we need to include it explicitly
// https://github.com/vite-plugin/vite-plugin-dynamic-import/blob/v1.3.0/src/index.ts#L79
// https://github.com/vite-plugin/vite-plugin-dynamic-import/blob/v1.3.0/src/index.ts#L133-L135
if (/node_modules\/(?!\.vite\/)/.test(id)) {
return true
}
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Expand Up @@ -39,7 +39,7 @@ export default {
dynamicImport({
filter(id) {
// 默认会排除 `node_modules`,所以必须显式的包含它
// https://github.com/vite-plugin/vite-plugin-dynamic-import/blob/v1.3.0/src/index.ts#L79
// https://github.com/vite-plugin/vite-plugin-dynamic-import/blob/v1.3.0/src/index.ts#L133-L135
if (/node_modules\/(?!\.vite\/)/.test(id)) {
return true
}
Expand Down

0 comments on commit babb391

Please sign in to comment.