Skip to content

Commit

Permalink
chore: better error messages for CJS users (#8790)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jun 22, 2023
1 parent 8905877 commit 60eee9a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,43 +25,43 @@
".": {
"types": "./types/index.d.ts",
"browser": {
"import": "./src/runtime/index.js"
"default": "./src/runtime/index.js"
},
"import": "./src/runtime/ssr.js"
"default": "./src/runtime/ssr.js"
},
"./compiler": {
"types": "./types/index.d.ts",
"import": "./src/compiler/index.js",
"require": "./compiler.cjs"
"require": "./compiler.cjs",
"default": "./src/compiler/index.js"
},
"./action": {
"types": "./types/index.d.ts"
},
"./animate": {
"types": "./types/index.d.ts",
"import": "./src/runtime/animate/index.js"
"default": "./src/runtime/animate/index.js"
},
"./easing": {
"types": "./types/index.d.ts",
"import": "./src/runtime/easing/index.js"
"default": "./src/runtime/easing/index.js"
},
"./internal": {
"import": "./src/runtime/internal/index.js"
"default": "./src/runtime/internal/index.js"
},
"./motion": {
"types": "./types/index.d.ts",
"import": "./src/runtime/motion/index.js"
"default": "./src/runtime/motion/index.js"
},
"./store": {
"types": "./types/index.d.ts",
"import": "./src/runtime/store/index.js"
"default": "./src/runtime/store/index.js"
},
"./internal/disclose-version": {
"import": "./src/runtime/internal/disclose-version/index.js"
},
"./transition": {
"types": "./types/index.d.ts",
"import": "./src/runtime/transition/index.js"
"default": "./src/runtime/transition/index.js"
},
"./elements": {
"types": "./elements.d.ts"
Expand Down

0 comments on commit 60eee9a

Please sign in to comment.