Update Vue.js to 3.4.27
Bug: T364789 Change-Id: Ib21a5dfdf8fcdd6c090ea74fb052181f0fb90d9e
This commit is contained in:
parent
38993eb5b5
commit
48065759cd
5 changed files with 3163 additions and 1890 deletions
|
|
@ -113,6 +113,7 @@ For notes on 1.42.x and older releases, see HISTORY.
|
|||
* Updated symfony/yaml from 5.4.35 to 5.4.39.
|
||||
* Updated OOUI from v0.49.1 to v0.49.2.
|
||||
* Updated wikimedia/less.php from 4.2.1 to 4.4.1.
|
||||
* Updated vue from 3.3.9 to 3.4.27.
|
||||
* …
|
||||
|
||||
===== Changed development-only external libraries =====
|
||||
|
|
|
|||
|
|
@ -455,11 +455,11 @@ vue:
|
|||
license: MIT
|
||||
homepage: https://vuejs.org/
|
||||
authors: Yuxi (Evan) You
|
||||
version: 3.3.9
|
||||
purl: pkg:npm/vue@3.3.9
|
||||
version: 3.4.27
|
||||
purl: pkg:npm/vue@3.4.27
|
||||
type: tar
|
||||
src: https://registry.npmjs.org/vue/-/vue-3.3.9.tgz
|
||||
integrity: sha512-sy5sLCTR8m6tvUk1/ijri3Yqzgpdsmxgj6n6yl7GXXCXqVbmW2RCXe9atE4cEI6Iv7L89v5f35fZRRr5dChP9w==
|
||||
src: https://registry.npmjs.org/vue/-/vue-3.4.27.tgz
|
||||
integrity: sha384-NI/upbRDNmqZCbvCtpncGt32Iw2gOsS6j/l3D4wSfz9IVnSXqLhO5mHLbVblRHet
|
||||
dest:
|
||||
package/README.md:
|
||||
package/LICENSE:
|
||||
|
|
|
|||
|
|
@ -33,18 +33,23 @@
|
|||
|
||||
#### Bundler Build Feature Flags
|
||||
|
||||
Starting with 3.0.0-rc.3, `esm-bundler` builds now exposes global feature flags that can be overwritten at compile time:
|
||||
[Detailed Reference on vuejs.org](https://vuejs.org/api/compile-time-flags.html)
|
||||
|
||||
- `__VUE_OPTIONS_API__` (enable/disable Options API support, default: `true`)
|
||||
- `__VUE_PROD_DEVTOOLS__` (enable/disable devtools support in production, default: `false`)
|
||||
`esm-bundler` builds of Vue expose global feature flags that can be overwritten at compile time:
|
||||
|
||||
The build will work without configuring these flags, however it is **strongly recommended** to properly configure them in order to get proper tree-shaking in the final bundle. To configure these flags:
|
||||
- `__VUE_OPTIONS_API__`
|
||||
- Default: `true`
|
||||
- Enable / disable Options API support
|
||||
|
||||
- webpack: use [DefinePlugin](https://webpack.js.org/plugins/define-plugin/)
|
||||
- Rollup: use [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/master/packages/replace)
|
||||
- Vite: configured by default, but can be overwritten using the [`define` option](https://github.com/vitejs/vite/blob/a4133c073e640b17276b2de6e91a6857bdf382e1/src/node/config.ts#L72-L76)
|
||||
- `__VUE_PROD_DEVTOOLS__`
|
||||
- Default: `false`
|
||||
- Enable / disable devtools support in production
|
||||
|
||||
Note: the replacement value **must be boolean literals** and cannot be strings, otherwise the bundler/minifier will not be able to properly evaluate the conditions.
|
||||
- `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__`
|
||||
- Default: `false`
|
||||
- Enable / disable detailed warnings for hydration mismatches in production
|
||||
|
||||
The build will work without configuring these flags, however it is **strongly recommended** to properly configure them in order to get proper tree-shaking in the final bundle.
|
||||
|
||||
### For Server-Side Rendering
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue