adobe / twist

State-management library with data binding and observables
Apache License 2.0
23 stars 10 forks source link

Filename case warning (thunkMiddleware.jsx vs ThunkMiddleware.jsx) #4

Closed kerrishotts closed 6 years ago

kerrishotts commented 6 years ago

Here's the full warning:

WARNING in ./node_modules/@twist/core/src/middleware/ThunkMiddleware.jsx
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* /Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/thread-loader/dist/cjs.js!/Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/babel-loader/lib/index.js??ref--3-1!/Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/@twist/core/src/middleware/ThunkMiddleware.jsx
    Used by 1 module(s), i. e.
    /Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/thread-loader/dist/cjs.js!/Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/babel-loader/lib/index.js??ref--3-1!/Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/@twist/core/src/BaseStore.jsx
* /Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/thread-loader/dist/cjs.js!/Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/babel-loader/lib/index.js??ref--3-1!/Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/@twist/core/src/middleware/thunkMiddleware.jsx
    Used by 1 module(s), i. e.
    /Volumes/Files/Users/kerrishotts/Projects/adobe/react-twist-starter/node_modules/@twist/core/index.js
 @ ./node_modules/@twist/core/src/middleware/ThunkMiddleware.jsx
 @ ./node_modules/@twist/core/src/BaseStore.jsx
 @ ./node_modules/@twist/core/index.js
 @ ./node_modules/@twist/react/src/BaseComponent.jsx
 @ ./node_modules/@twist/react/index.js
 @ ./src/Main.jsx
 @ multi (webpack)-dev-server/client?http://localhost:9000 webpack/hot/dev-server ./src/Main.jsx