Skip to content

Commit

Permalink
fix(exports): add a main export file that throws a helpful error
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 24, 2024
1 parent ecfd539 commit a31454e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
throw new Error('@epic-web/config does not have a default export module')
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"#/*": "./*"
},
"exports": {
".": "./index.js",
"./prettier": "./configs/prettier.js",
"./typescript": "./configs/typescript.json",
"./eslint": "./configs/eslint.js"
Expand Down

0 comments on commit a31454e

Please sign in to comment.