@forsakringskassan/vite-lib-config 3.4.3 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/vite.config.cjs +927 -182
- package/dist/vite.config.d.ts +1 -1
- package/dist/vite.config.mjs +917 -172
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -109,6 +109,14 @@ If the `setup` function is async (i.e. returns a `Promise`) it will be awaited b
|
|
|
109
109
|
|
|
110
110
|
Create `src/vite-dev/app.vue` containing the root component you want to serve as a development environment.
|
|
111
111
|
|
|
112
|
+
When running in dev mode an optional filename (or part of filename) can be given to run instead of default `src/vite-dev/app.vue`:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
vite -- MyAwesomeExample
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
would search for any `.vue` file matching the given pattern (fuzzy).
|
|
119
|
+
|
|
112
120
|
### Appending Plugins
|
|
113
121
|
|
|
114
122
|
If you need to use custom plugins in your library, remember to also include the default plugins, these will otherwise by overwritten.
|