Skip to content

Commit

Permalink
docs: v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Apr 30, 2023
1 parent db41149 commit 9c81c19
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 @@ -40,7 +40,7 @@ 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#L133-L135
if (/node_modules\/(?!\.vite\/)/.test(id)) {
if (id.includes('/node_modules/foo')) {
return true
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Expand Up @@ -40,7 +40,7 @@ dynamicImport({
filter(id) {
// 默认会排除 `node_modules`,所以必须显式的包含它
// https://github.com/vite-plugin/vite-plugin-dynamic-import/blob/v1.3.0/src/index.ts#L133-L135
if (/node_modules\/(?!\.vite\/)/.test(id)) {
if (id.includes('/node_modules/foo')) {
return true
}
}
Expand Down

0 comments on commit 9c81c19

Please sign in to comment.