build(server-renderer): Add ESM as a build target (#4209)
This commit is contained in:
parent
13c69469f2
commit
1e3d468ca1
@ -3,13 +3,16 @@
|
|||||||
"version": "3.2.0-beta.6",
|
"version": "3.2.0-beta.6",
|
||||||
"description": "@vue/server-renderer",
|
"description": "@vue/server-renderer",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"module": "dist/server-renderer.esm-bundler.js",
|
||||||
"types": "dist/server-renderer.d.ts",
|
"types": "dist/server-renderer.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"buildOptions": {
|
"buildOptions": {
|
||||||
|
"name": "VueServerRenderer",
|
||||||
"formats": [
|
"formats": [
|
||||||
|
"esm-bundler",
|
||||||
"cjs"
|
"cjs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user