Skip to content

Commit 0d3e3e6

Browse files
committed
docs: ✏️ 修改CommonJS方式的用法问题
1 parent 7665c7e commit 0d3e3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pnpm add --save-dev @winner-fed/webpack5-remove-use-strict-plugin
3232
### CommonJS 方式
3333

3434
```js
35-
const Webpack5RemoveUseStrictPlugin = require('@winner-fed/webpack5-remove-use-strict-plugin').default;
35+
const Webpack5RemoveUseStrictPlugin = require('@winner-fed/webpack5-remove-use-strict-plugin');
3636

3737
module.exports = {
3838
// ... 其他 webpack 配置

0 commit comments

Comments
 (0)