Skip to content

Commit

Permalink
fix: esm module issues
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Feb 14, 2022
1 parent ac4751b commit 6a7e18c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import './sourcemap-register.cjs'
import { createRequire as __WEBPACK_EXTERNAL_createRequire } from 'module'
/******/ var __webpack_modules__ = {
/***/ 7351: /***/ function (
Expand Down Expand Up @@ -20786,5 +20785,3 @@ An error to be thrown when the request is aborted with `.cancel()`.

run()
})()

//# sourceMappingURL=index.js.map
1 change: 0 additions & 1 deletion dist/index.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/sourcemap-register.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build": "npm run lint && npm run test && npm run prepare",
"postinstall": "husky install",
"lint": "eslint .",
"prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt",
"prepare": "ncc build src/index.js -o dist --license licenses.txt",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
Expand Down

0 comments on commit 6a7e18c

Please sign in to comment.