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", "license": "MIT",
"type": "module", "type": "module",
"exports": "./module.cjs", "exports": "./module.cjs",
"types": "./dist/index.d.ts",
"files": [ "files": [
"module.cjs", "module.cjs",
"dist" "dist"

View File

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

View File

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

View File

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