Skip to content

Commit 1f52d30

Browse files
authored
docs: fix code error in externalsType.module-import doc (#7563)
1 parent 27838c7 commit 1f52d30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/configuration/externals.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,10 @@ async function foo() {
547547

548548
```js
549549
module.exports = {
550-
externalsType: 'import',
550+
externalsType: 'module-import',
551551
externals: {
552552
jquery: 'jquery',
553+
lodash: 'lodash',
553554
},
554555
};
555556
```

0 commit comments

Comments
 (0)