Skip to content

Commit f04bf5a

Browse files
authored
Fix module path in package.json
The current value of `"module": "components/index.js"` comes from the initial commit from 3 years ago and was never updated when `components` were moved into `src` at some point. This incorrect value doesn't cause any real problem per se in practice however it does have the annoying effect of causing certain IDEs (i.e. WebStorm) to flag `react-trello` import statement with a "Module not installed" warning message. The warning message itself also doesn't cause any problem within the IDE other than annoyance, but I would like to not be annoyed, hence this commit to fix the path.
1 parent f4726e1 commit f04bf5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "react-trello",
33
"description": "Pluggable components to add a trello like kanban board to your application",
44
"main": "dist/index.js",
5-
"jsnext:main": "components/index.js",
6-
"module": "components/index.js",
5+
"jsnext:main": "src/components/index.js",
6+
"module": "src/components/index.js",
77
"files": [
88
"src",
99
"dist",

0 commit comments

Comments
 (0)