Skip to content

Commit

Permalink
docs(options.md): Change default value of esModule (#905)
Browse files Browse the repository at this point in the history
* docs(options.md): Change default value of `esModule`

* Update options.md

* fix: wrong text

* fix: typo

* Update options.md
  • Loading branch information
imcvampire authored and kazupon committed Jul 29, 2017
1 parent 746601b commit 46fc1e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/options.md
Expand Up @@ -124,7 +124,8 @@ module.exports = {
### esModule

- type: `boolean`
- default: `false`
- default: `true`
- In v12.x or below, default value is `false`

Whether to emit esModule compatible code. By default vue-loader will emit default export in commonjs format like `module.exports = ....`. When `esModule` is set to true, default export will be transpiled into `exports.__esModule = true; exports = ...`. Useful for interoperating with transpiler other than Babel, like TypeScript.

Expand Down

0 comments on commit 46fc1e1

Please sign in to comment.