chore: sync runtime-vapor version with other packages and tweak package.json
This commit is contained in:
parent
aa84afc199
commit
724e63c306
|
@ -1,4 +1,8 @@
|
||||||
# @vue/runtime-vapor
|
# @vue/runtime-vapor
|
||||||
|
|
||||||
> **Note**
|
This package only ships `esm-bundler` build because:
|
||||||
> Work in progress. Do not use yet.
|
|
||||||
|
1. Vapor mode requires SFC build.
|
||||||
|
2. Vapor mode runtime only runs in the browser.
|
||||||
|
|
||||||
|
The main `vue` package ships `dist/vue.runtime-with-vapor.esm-browser.js` which inlines this package. It is used for the SFC Playground only.
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
'use strict'
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'production') {
|
|
||||||
module.exports = require('./dist/runtime-vapor.cjs.prod.js')
|
|
||||||
} else {
|
|
||||||
module.exports = require('./dist/runtime-vapor.cjs.js')
|
|
||||||
}
|
|
|
@ -1,15 +1,21 @@
|
||||||
{
|
{
|
||||||
"name": "@vue/runtime-vapor",
|
"name": "@vue/runtime-vapor",
|
||||||
"version": "3.0.0-vapor",
|
"version": "3.5.13",
|
||||||
"description": "@vue/runtime-vapor",
|
"description": "@vue/runtime-vapor",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"module": "dist/runtime-vapor.esm-bundler.js",
|
"module": "dist/runtime-vapor.esm-bundler.js",
|
||||||
"types": "dist/runtime-vapor.d.ts",
|
"types": "dist/runtime-vapor.d.ts",
|
||||||
"unpkg": "dist/runtime-vapor.global.js",
|
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./dist/runtime-vapor.d.ts",
|
||||||
|
"default": "./dist/runtime-dom.esm-bundler.js"
|
||||||
|
},
|
||||||
|
"./*": "./*"
|
||||||
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"buildOptions": {
|
"buildOptions": {
|
||||||
"name": "VueRuntimeVapor",
|
"name": "VueRuntimeVapor",
|
||||||
|
|
Loading…
Reference in New Issue