build(server-renderer): Add ESM as a build target (#4209)

This commit is contained in:
Bartek Igielski 2021-07-29 16:48:15 +02:00 committed by GitHub
parent 13c69469f2
commit 1e3d468ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,16 @@
"version": "3.2.0-beta.6",
"description": "@vue/server-renderer",
"main": "index.js",
"module": "dist/server-renderer.esm-bundler.js",
"types": "dist/server-renderer.d.ts",
"files": [
"index.js",
"dist"
],
"buildOptions": {
"name": "VueServerRenderer",
"formats": [
"esm-bundler",
"cjs"
]
},