Skip to content

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Oct 16, 2023
1 parent befdf2d commit d6bdabd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"bugs": {
"url": "https://github.com/MetaMask/utils/issues"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/utils.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
Expand All @@ -20,6 +20,8 @@
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineConfig({
// Enables shimming of `__dirname` and `import.meta.url`, so that they work
// in both CommonJS and ESM.
// https://tsup.egoist.dev/#inject-cjs-and-esm-shims
shims: false,
shims: true,

// Hide unnecessary logs from the console. Warnings and errors will still be
// shown.
Expand Down

0 comments on commit d6bdabd

Please sign in to comment.