Skip to content

Commit

Permalink
docs: fix build.polyfillDynamicImport naming (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianseilund authored Jan 6, 2021
1 parent f9c1acc commit 39f2002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default ({ command, mode }) => {

Note the build will fail if the code contains features that cannot be safely transpiled by esbuild. See [esbuid docs](https://esbuild.github.io/content-types/#javascript) for more details.

### build.dynamicImportPolyfill
### build.polyfillDynamicImport

- **Type:** `boolean`
- **Default:** `true` unless `build.target` is `'esnext'`
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/backend-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel)
}
```

Also remember to add the [dynamic import polyfill](/config/#build-dynamicimportpolyfill) to your entry, since it will no longer be auto-injected:
Also remember to add the [dynamic import polyfill](/config/#build-polyfilldynamicimport) to your entry, since it will no longer be auto-injected:

```js
// add the beginning of your app entry
Expand Down

0 comments on commit 39f2002

Please sign in to comment.