File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 66 "bugs" : {
77 "url" : " https://github.com/MetaMask/utils/issues"
88 },
9- "sideEffects" : false ,
109 "repository" : {
1110 "type" : " git" ,
1211 "url" : " https://github.com/MetaMask/utils.git"
1312 },
1413 "license" : " ISC" ,
14+ "sideEffects" : false ,
1515 "exports" : {
1616 "." : {
1717 "import" : " ./dist/index.mjs" ,
2020 },
2121 "./package.json" : " ./package.json"
2222 },
23+ "main" : " ./dist/index.js" ,
24+ "module" : " ./dist/index.mjs" ,
2325 "types" : " ./dist/types/index.d.ts" ,
2426 "files" : [
2527 " dist"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default defineConfig({
2828 // Enables shimming of `__dirname` and `import.meta.url`, so that they work
2929 // in both CommonJS and ESM.
3030 // https://tsup.egoist.dev/#inject-cjs-and-esm-shims
31- shims : false ,
31+ shims : true ,
3232
3333 // Hide unnecessary logs from the console. Warnings and errors will still be
3434 // shown.
You can’t perform that action at this time.
0 commit comments