Skip to content

Commit 3c5f3a3

Browse files
kakachakejacob-lcs
andauthored
fix: css-loader esModule translate error (#1653)
* fix: css-loader esModule translate error * Update src/content/loaders/css-loader.mdx Co-authored-by: Jacob <[email protected]>
1 parent 18bb684 commit 3c5f3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/loaders/css-loader.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ module.exports = {
12311231
默认情况下,`css-loader` 生成使用 ES 模块语法的 JS 模块。
12321232
在某些情况下,使用 ES 模块是有益的,例如在[模块串联](/plugins/module-concatenation-plugin/)[tree shaking](/guides/tree-shaking/) 时。
12331233

1234-
您可以使用以下方式启用ES模块语法
1234+
你可以使用以下方式启用 CommonJS 模块语法
12351235

12361236
**webpack.config.js**
12371237

0 commit comments

Comments
 (0)