You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/api/configuration-build.md
+1-30
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ export default {
163
163
}
164
164
```
165
165
166
-
To understand a bit more about the use of manifest and vendor, take a look at this [webpack documentation](https://webpack.js.org/guides/code-splitting-libraries/).
166
+
To understand a bit more about the use of manifests, take a look at this [webpack documentation](https://webpack.js.org/guides/code-splitting-libraries/).
167
167
168
168
## hotMiddleware
169
169
@@ -528,35 +528,6 @@ Templates are rendered using [`lodash.template`](https://lodash.com/docs/#templa
528
528
529
529
If you want to transpile specific dependencies with Babel, you can add them in `build.transpile`. Item in transpile can be string or regex object for matching dependencies file name.
530
530
531
-
## vendor
532
-
533
-
> Nuxt.js lets you add modules inside the `vendor.bundle.js` file to reduce the size of the application bundle. This is especially helpful when using external modules (like `axios` for example).
534
-
535
-
- Type: `Array`
536
-
537
-
To add a module/file inside the vendor bundle, add the `build.vendor` key inside `nuxt.config.js`:
538
-
539
-
```js
540
-
exportdefault {
541
-
build: {
542
-
vendor: ['axios']
543
-
}
544
-
}
545
-
```
546
-
547
-
You can also give a path to a file, like a custom lib you created:
0 commit comments