Skip to content

Commit 5862b1c

Browse files
committed
build: change to old method of specifying es modules, new one doesn't play nicely with jest.
1 parent 3d349ee commit 5862b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "2.0.2",
44
"author": "Alex Miller <codex.nz@gmail.com>",
55
"description": "Execute a given command after a bundle has been written",
6-
"type": "module",
76
"homepage": "https://github.com/Codex-/rollup-plugin-conditional-exec#readme",
87
"repository": {
98
"type": "git",
@@ -20,6 +19,7 @@
2019
"exec"
2120
],
2221
"main": "dist/cjs/index.js",
22+
"module": "dist/esm/index.js",
2323
"types": "dist/cjs/index.d.ts",
2424
"exports": {
2525
".": {
@@ -28,7 +28,7 @@
2828
"default": "./dist/esm/index.js"
2929
},
3030
"require": {
31-
"types": "./dist/cjs/index.d.cts",
31+
"types": "./dist/cjs/index.d.ts",
3232
"default": "./dist/cjs/index.js"
3333
}
3434
}

0 commit comments

Comments
 (0)