fix: add main entrypoints for packages (#629)

This commit is contained in:
Daniel Roe 2021-10-03 00:39:51 +01:00 committed by GitHub
parent 3b4a0f19e3
commit 0a9342c02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,6 @@
"license": "MIT",
"type": "module",
"exports": "./module.cjs",
"types": "./dist/index.d.ts",
"files": [
"module.cjs",
"dist"

View File

@ -4,7 +4,7 @@
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
"exports": "./dist/index.mjs",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",

View File

@ -3,7 +3,7 @@
"version": "0.10.0",
"license": "MIT",
"type": "module",
"exports": "./dist/index.mjs",
"main": "./dist/index.mjs",
"types": "./types/index.d.ts",
"files": [
"dist",

View File

@ -4,7 +4,7 @@
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
"exports": "./dist/index.mjs",
"main": "./dist/index.mjs",
"types": "./types.d.ts",
"bin": {
"nuxt": "./bin/nuxt.mjs"