Skip to content

Commit 6a7e18c

Browse files
fix: esm module issues
1 parent ac4751b commit 6a7e18c

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

dist/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import './sourcemap-register.cjs'
21
import { createRequire as __WEBPACK_EXTERNAL_createRequire } from 'module'
32
/******/ var __webpack_modules__ = {
43
/***/ 7351: /***/ function (
@@ -20786,5 +20785,3 @@ An error to be thrown when the request is aborted with `.cancel()`.
2078620785

2078720786
run()
2078820787
})()
20789-
20790-
//# sourceMappingURL=index.js.map

dist/index.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/sourcemap-register.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"build": "npm run lint && npm run test && npm run prepare",
2929
"postinstall": "husky install",
3030
"lint": "eslint .",
31-
"prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt",
31+
"prepare": "ncc build src/index.js -o dist --license licenses.txt",
3232
"prepublishOnly": "pinst --disable",
3333
"postpublish": "pinst --enable",
3434
"test": "NODE_OPTIONS=--experimental-vm-modules jest"

0 commit comments

Comments
 (0)