Skip to content

Commit

Permalink
fix(repl): Fix package.json exports (#472)
Browse files Browse the repository at this point in the history
* Lets hope this works

* Add changeset
  • Loading branch information
PuruVJ authored Apr 30, 2023
1 parent 869669c commit b58af12
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-planes-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/repl': patch
---

Fix exports
15 changes: 11 additions & 4 deletions packages/repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
"svelte": "./dist/index.js",
"default": "./dist/index.js"
}
},
"typesVersions": {
">4.0": {
"*": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
"dist"
],
"peerDependencies": {
"svelte": "^3.54.0"
Expand Down

2 comments on commit b58af12

@vercel
Copy link

@vercel vercel bot commented on b58af12 Apr 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hn – ./sites/hn.svelte.dev

sites-zeta.vercel.app
hn-svelte.vercel.app
hn-git-master-svelte.vercel.app
hn.svelte.dev

@vercel
Copy link

@vercel vercel bot commented on b58af12 Apr 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svelte-dev – ./sites/svelte.dev

svelte-website.vercel.app
svelte-dev-git-master-svelte.vercel.app
svelte-dev-svelte.vercel.app
svelte.dev

Please sign in to comment.