Skip to content

Commit

Permalink
Merge pull request #416 from dwyl/not-defined-fix#411
Browse files Browse the repository at this point in the history
[PR] Removing "type: module" and bundling .mjs files.
  • Loading branch information
nelsonic authored Jun 4, 2024
2 parents dbcbce2 + 4dec9aa commit 3c2d8ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "aws-sdk-mock",
"version": "6.0.1",
"version": "6.0.2",
"description": "Functions to mock the JavaScript aws-sdk",
"type": "module",
"main": "dist/index.cjs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
Expand All @@ -15,7 +15,7 @@
"nocov": "ts-mocha test/**/*.spec.ts",
"test": "nyc ts-mocha test/**/*.spec.ts && tsd",
"coverage": "nyc --report html ts-mocha test/**/*.spec.ts && open coverage/index.html",
"build": "tsup src/index.ts --format cjs, esm, --dts"
"build": "tsup src/index.ts --format esm,cjs --dts"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3c2d8ad

Please sign in to comment.