Skip to content

Commit

Permalink
fix(package.json): order of items in exports objects are VERY IMPORTANT
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Jan 5, 2021
1 parent 5f723fe commit 677b4ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module.exports = {
node: true,
jest: true,
'jest/globals': true,
browser: true,
webextensions: true
browser: false,
webextensions: false
},
rules: {
'no-console': 'warn',
Expand Down Expand Up @@ -78,7 +78,9 @@ module.exports = {
'jest/require-to-throw-message': 'off',
'jest/prefer-called-with': 'off',
'jest/prefer-spy-on': 'off',
'jest/no-if': 'off'
'jest/no-if': 'off',
'jest/no-disabled-tests': 'warn',
'jest/no-commented-out-tests': 'warn'
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"type": "commonjs",
"exports": {
".": {
"default": "./dist/lib/index.js",
"import": "./dist/lib/index.mjs",
"require": "./dist/lib/index.js"
"require": "./dist/lib/index.js",
"default": "./dist/lib/index.js"
},
"./package": "./package.json",
"./package.json": "./package.json"
Expand Down

0 comments on commit 677b4ce

Please sign in to comment.