Skip to content
Permalink
Browse files
docs(en/options): tweak esModule note
  • Loading branch information
kazupon committed Jul 29, 2017
1 parent 46fc1e1 commit 62b698c93f82b305eb01f2dfef2c247ac4454153
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/en/options.md
@@ -124,11 +124,12 @@ module.exports = {
### esModule

- type: `boolean`
- default: `true`
- In v12.x or below, default value is `false`
- default: `true` (v13.0+)

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.

> version note: up to v12.x, default value is `false`.
### preserveWhitespace

- type: `boolean`

0 comments on commit 62b698c

Please sign in to comment.