From 39f2002c1ad57734de1149b207c0bd689ea31d02 Mon Sep 17 00:00:00 2001 From: Sebastian Seilund Date: Tue, 5 Jan 2021 23:34:45 -0800 Subject: [PATCH] docs: fix build.polyfillDynamicImport naming (#1387) --- docs/config/index.md | 2 +- docs/guide/backend-integration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/index.md b/docs/config/index.md index 07b393ba00be24..559bc92b82a0ab 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -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'` diff --git a/docs/guide/backend-integration.md b/docs/guide/backend-integration.md index fd9130c5992d2b..fa9675b69e1747 100644 --- a/docs/guide/backend-integration.md +++ b/docs/guide/backend-integration.md @@ -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