diff --git a/docs/presets/neutrino-preset-react/README.md b/docs/presets/neutrino-preset-react/README.md index 7a97c40..190ccb2 100644 --- a/docs/presets/neutrino-preset-react/README.md +++ b/docs/presets/neutrino-preset-react/README.md @@ -121,6 +121,13 @@ manifest.2211d9c1970bbd3c952b.bundle.js 1.41 kB 1 [emitted] manifest You can either serve or deploy the contents of this `build` directory as a static site. +## Paths + +The `neutrino-preset-web` preset loads assets relative to the path of your application by setting Webpack's +[`output.publicPath`](https://webpack.js.org/configuration/output/#output-publicpath) to `./`. If you wish to load +assets instead from a CDN, or if you wish to change to an absolute path for your application, customize your build to +override `output.publicPath`. See the [Customizing](#Customizing) section below. + ## Customizing To override the build configuration, start with the documentation on [customization](../../customization/README.md). diff --git a/docs/presets/neutrino-preset-web/README.md b/docs/presets/neutrino-preset-web/README.md index 3e0c1a2..f4b0ff0 100644 --- a/docs/presets/neutrino-preset-web/README.md +++ b/docs/presets/neutrino-preset-web/README.md @@ -153,6 +153,13 @@ if (module.hot) { Using dynamic imports with `import()` will automatically create split points and hot replace those modules upon modification during development. +## Paths + +By default this preset loads assets relative to the path of your application by setting Webpack's +[`output.publicPath`](https://webpack.js.org/configuration/output/#output-publicpath) to `./`. If you wish to load +assets instead from a CDN, or if you wish to change to an absolute path for your application, customize your build to +override `output.publicPath`. See the [Customizing](#Customizing) section below. + ## Customizing To override the build configuration, start with the documentation on [customization](../../customization/README.md).