Skip to content

Commit 03ab52a

Browse files
authored
docs: fix esm document example errors (#11673)
* Update esm.mdx * Update esm.mdx
1 parent 42a9cf8 commit 03ab52a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/guide/features/esm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ export default {
3737
output: {
3838
module: true,
3939
chunkFormat: 'module',
40-
externalsType: 'module-import',
4140
library: {
4241
type: 'modern-module',
4342
},
4443
chunkLoading: 'import',
4544
workerChunkLoading: 'import',
4645
},
46+
externalsType: 'module-import',
4747
optimization: {
4848
concatenateModules: true,
4949
avoidEntryIife: true,

website/docs/zh/guide/features/esm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ export default {
3737
output: {
3838
module: true,
3939
chunkFormat: 'module',
40-
externalsType: 'module-import',
4140
library: {
4241
type: 'modern-module',
4342
},
4443
chunkLoading: 'import',
4544
workerChunkLoading: 'import',
4645
},
46+
externalsType: 'module-import',
4747
optimization: {
4848
concatenateModules: true,
4949
avoidEntryIife: true,

0 commit comments

Comments
 (0)