Skip to content

Commit a31454e

Browse files
committed
fix(exports): add a main export file that throws a helpful error
1 parent ecfd539 commit a31454e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
throw new Error('@epic-web/config does not have a default export module')

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"#/*": "./*"
1313
},
1414
"exports": {
15+
".": "./index.js",
1516
"./prettier": "./configs/prettier.js",
1617
"./typescript": "./configs/typescript.json",
1718
"./eslint": "./configs/eslint.js"

0 commit comments

Comments
 (0)