'./src/User/SignIn'
Пути написаны правильно
WARNING in ./src/Interface/User/SignIn/Index.js
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:
* c:\frontend\node_modules\babel-loader\lib\index.js!c:\frontend\node_modules\eslint-loader\index.js!c:\frontend\src\User\SignIn\Index.js
Used by 29 module(s), i. e.
c:\frontend\node_modules\babel-loader\lib\index.js!c:\frontend\node_modules\eslint-loader\index.js!c:\frontend\src\Header\Index.js
* c:\frontend\node_modules\babel-loader\lib\index.js!c:\frontend\node_modules\eslint-loader\index.js!c:\frontend\src\User\SignIn\index.js
Used by 2 module(s), i. e.
c:\frontend\node_modules\babel-loader\lib\index.js!c:\frontend\node_modules\eslint-loader\index.js!c:\frontend\src\Forms\CreateProject\Index.js
@ ./src/Interface/User/SignIn/Index.js
@ ./src/Interface/Header/Index.js
@ ./src/Pages/App/Index.js
@ ./src/index.js
Так что я смело причисляю себя к последним.
for (var i = arr.length - 1; i >= 0; --i) {
var nextRest = list || null; // ( 1 )
var list = {}; // ( 2 )
list["value"] = arr[i]; // ( 3 )
list["rest"] = nextRest; // ( 4 )
}
За рулем некогда искать в поиске.
resolve: {
alias: {
'WidgetItems': './src/js/common/widgetItems/SomeEnvWidgetItems'
}
}
import { default as SomeWdgetItem1 } from './SomeWdgetItem1';
import { default as SomeWdgetItem2 } from './SomeWdgetItem2';
/* ... */
export default [
SomeWdgetItem1,
SomeWdgetItem2,
/* ... */
];
import widgetItemsList from 'WidgetItems';
export { default as SignIn } from './SignIn';
Обычно делают такие индексы для папок с компонентами.
Очень удобно потом импортировать: