Add package.json to exports map (#5660)

pull/7738/head
Ben McCann 5 years ago committed by GitHub
parent ad6abfc509
commit 8c573f2a0f

@ -1,5 +1,9 @@
# Svelte changelog # Svelte changelog
## Unreleased
* Include `./package.json` in export map ([#5659](https://github.com/sveltejs/svelte/issues/5659))
## 3.29.5 ## 3.29.5
* Fix `$$props` and `$$restProps` when compiling to a custom element ([#5482](https://github.com/sveltejs/svelte/issues/5482)) * Fix `$$props` and `$$restProps` when compiling to a custom element ([#5482](https://github.com/sveltejs/svelte/issues/5482))

@ -19,6 +19,7 @@
"README.md" "README.md"
], ],
"exports": { "exports": {
"./package.json": "./package.json",
".": { ".": {
"import": "./index.mjs", "import": "./index.mjs",
"require": "./index.js" "require": "./index.js"

Loading…
Cancel
Save