Skip to content
Merged
Prev Previous commit
Next Next commit
Set package.json type to "module"
  • Loading branch information
MajorLift committed May 21, 2024
commit e69e43668fb900280f54aaf7e5e0f51bdd731f53
4 changes: 2 additions & 2 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ module.exports = {
],

ignorePatterns: [
'!.eslintrc.js',
'!.prettierrc.js',
'!.eslintrc.cjs',
'!.prettierrc.cjs',
'dist/',
'docs/',
'.yarn/',
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"license": "MIT",
"sideEffects": false,
"type": "module",
Copy link

@mcmire mcmire May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to make this an ESM package? I think that using ts-bridge and upgrading the moduleResolution should work without this, no?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted here: 6c4e6cd

"exports": {
".": {
"import": {
Expand Down