diff --git a/docs/guide/backend-integration.md b/docs/guide/backend-integration.md index ac09692a31eeb3..06fbce487ef3fd 100644 --- a/docs/guide/backend-integration.md +++ b/docs/guide/backend-integration.md @@ -22,7 +22,7 @@ If you need a custom integration, you can follow the steps in this guide to conf }) ``` - If you haven't disabled the [module preload polyfill](/config/#polyfillmodulepreload), you also need to import the polyfill in your entry + If you haven't disabled the [module preload polyfill](/config/#build-polyfillmodulepreload), you also need to import the polyfill in your entry ```js // add the beginning of your app entry diff --git a/docs/guide/migration.md b/docs/guide/migration.md index 3854c9d55a18b9..e3707f3581dcf7 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -32,13 +32,13 @@ - `httpsOptions` has been removed. [`server.https`](/config/#server-https) can directly accept the options object. - `chokidarWatchOptions` is now [`server.watch`](/config/#server-watch). -- [`assetsInclude`](/config/#assetsInclude) now expects `string | RegExp | (string | RegExp)[]` instead of a function. +- [`assetsInclude`](/config/#assetsinclude) now expects `string | RegExp | (string | RegExp)[]` instead of a function. - All Vue specific options are removed; Pass options to the Vue plugin instead. ## Alias Behavior Change -[`alias`](/config/#alias) is now being passed to `@rollup/plugin-alias` and no longer require start/ending slashes. The behavior is now a direct replacement, so 1.0-style directory alias key should remove the ending slash: +[`alias`](/config/#resolve-alias) is now being passed to `@rollup/plugin-alias` and no longer require start/ending slashes. The behavior is now a direct replacement, so 1.0-style directory alias key should remove the ending slash: ```diff - alias: { '/@foo/': path.resolve(__dirname, 'some-special-dir') }