Skip to content

Commit 8cbb33f

Browse files
committed
fix: ignore main field in package.json with targets
We do this so Parcel 2 ignores the main field.
1 parent b2cd24d commit 8cbb33f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
"coverage": "codecov"
3535
},
3636
"main": "out/node/entry.js",
37+
"targets": {
38+
"main": false
39+
},
3740
"devDependencies": {
3841
"@parcel/core": "^2.0.0-beta.3.1",
3942
"@parcel/types": "^2.0.0-alpha.3",

0 commit comments

Comments
 (0)