Skip to content

Commit 5132f62

Browse files
authored
fix: point ESM entrypoint to CJS build (#699)
This solves old plugins importing the CJS version of the framework, causing sapphire's internal pieces to get double loaded (and cause errors)
1 parent af89313 commit 5132f62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"exports": {
99
"import": {
1010
"types": "./dist/esm/index.d.mts",
11-
"default": "./dist/esm/index.mjs"
11+
"default": "./dist/cjs/index.cjs"
1212
},
1313
"require": {
1414
"types": "./dist/cjs/index.d.ts",

0 commit comments

Comments
 (0)