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: docs/cli-service.md
-28
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@
6
6
-[build](#build)
7
7
-[Caching and Parallel Mode](#caching-and-parallel-mode)
8
8
-[Building as Library or Web Component](#building-as-library-or-web-component)
9
-
-[DLL Mode](#dll-mode)
10
9
-[inspect](#inspect)
11
10
-[Checking All Available Commands](#checking-all-available-commands)
12
11
@@ -118,33 +117,6 @@ Options:
118
117
119
118
It is also possible to build any component(s) inside your project as a library or as web components. See [Build Targets](./build-targets.md) for more details.
120
119
121
-
#### DLL Mode
122
-
123
-
If your app has a large amount of dependency libraries, you can improve the build performance by opting into DLL mode. DLL mode builds your dependencies into a separate vendor bundle which will be reused on future builds as long as your dependencies did not change.
124
-
125
-
To enable DLL mode, set the `dll` option in `vue.config.js` to `true`:
126
-
127
-
```js
128
-
// vue.config.js
129
-
module.exports= {
130
-
dll:true
131
-
}
132
-
```
133
-
134
-
This by default builds **all the modules listed in the `dependencies` field in `package.json`** into the DLL bundle. It is important that you correctly list your dependencies, otherwise it may end up including unnecessary code.
135
-
136
-
If you wish to have finer grained control over what modules to be included in the DLL bundle, you can also provide an Array of modules to the `dll` option:
0 commit comments