Skip to content

Commit 97f8787

Browse files
authored
fix: correct require.node.default export and explicitly export package.json (#1259)
* fix(cropperjs): update default commonjs export * fix(cropperjs): add explicit export for package.json in cropperjs package.json
1 parent 91d5ab3 commit 97f8787

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/cropperjs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
"node": {
2727
"production": "./dist/cropper.min.js",
2828
"development": "./dist/cropper.js",
29-
"default": "./cropper.raw.js"
29+
"default": "./dist/cropper.raw.js"
3030
},
3131
"default": "./dist/cropper.raw.js"
3232
}
33-
}
33+
},
34+
"./package.json": "./package.json"
3435
},
3536
"scripts": {
3637
"api-extractor": "api-extractor run --local --verbose",

0 commit comments

Comments
 (0)