diff --git a/README.md b/README.md index 97f5b6f..ca9f27f 100644 --- a/README.md +++ b/README.md @@ -378,12 +378,12 @@ module.exports = { ### `esModule` Type: `Boolean` -Default: `false` +Default: `true` By default, `file-loader` generates JS modules that use the ES modules syntax. There are some cases in which using ES modules is beneficial, like in the case of [module concatenation](https://webpack.js.org/plugins/module-concatenation-plugin/) and [tree shaking](https://webpack.js.org/guides/tree-shaking/). -You can enable a CommonJS module using: +You can enable a CommonJS module syntax using: **webpack.config.js**