Skip to content

Commit d409993

Browse files
authored
docs(cn): Update features.md
2 parents 23f1361 + 924daf7 commit d409993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ const modules = {
348348

349349
### Glob 导入形式 {#glob-import-as}
350350

351-
`import.meta.glob` 都支持以字符串形式导入文件,类似于 [以字符串形式导入资源](https://vitejs.dev/guide/assets.html#importing-asset-as-string)。在这里,我们使用了 [Import Reflection](https://github.com/tc39/proposal-import-reflection) 语法对导入进行断言:
351+
`import.meta.glob` 都支持以字符串形式导入文件,类似于 [以字符串形式导入资源](./assets.html#importing-asset-as-string)。在这里,我们使用了 [Import Reflection](https://github.com/tc39/proposal-import-reflection) 语法对导入进行断言:
352352

353353
```js
354354
const modules = import.meta.glob('./dir/*.js', { as: 'raw', eager: true })

0 commit comments

Comments
 (0)