Skip to content

Commit

Permalink
fix: change module system declaratuions to avoid top level type: module
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Jul 23, 2024
1 parent f64bfd7 commit ed00140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fetch-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "10.1.0",
"description": "Mock http requests made using fetch (or isomorphic-fetch)",
"main": "./dist/commonjs.js",
"module": "./src/index.js",
"exports": {
"types": "./types/index.d.ts",
"browser": "./src/index.js",
"import": "./src/index.js",
"require": "./dist/commonjs.js"
},
"types": "./types/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/wheresrhys/fetch-mock.git",
Expand Down
1 change: 1 addition & 0 deletions packages/fetch-mock/src/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "module"}

0 comments on commit ed00140

Please sign in to comment.