RC-4: correct imports for AppContext
This commit is contained in:
@@ -7,7 +7,7 @@ const aliases = (prefix = `src`) => ({
|
|||||||
'app/shared-components': `${prefix}/app/shared-components`,
|
'app/shared-components': `${prefix}/app/shared-components`,
|
||||||
'app/configs': `${prefix}/app/configs`,
|
'app/configs': `${prefix}/app/configs`,
|
||||||
'app/theme-layouts': `${prefix}/app/theme-layouts`,
|
'app/theme-layouts': `${prefix}/app/theme-layouts`,
|
||||||
'app/AppContext': `${prefix}/app/AppContext`,
|
'app/contexts/AppContext': `${prefix}/app/contexts/AppContext`,
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = aliases;
|
module.exports = aliases;
|
||||||
|
|||||||
@@ -1,16 +1,34 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@fuse/*": ["./src/@fuse/*"],
|
"@fuse/*": [
|
||||||
"@history*": ["./src/@history"],
|
"./src/@fuse/*"
|
||||||
"@lodash": ["./src/@lodash"],
|
],
|
||||||
"@mock-api": ["./src/@mock-api"],
|
"@history*": [
|
||||||
"app/store/*": ["./src/app/store/*"],
|
"./src/@history"
|
||||||
"app/shared-components/*": ["./src/app/shared-components/*"],
|
],
|
||||||
"app/configs/*": ["./src/app/configs/*"],
|
"@lodash": [
|
||||||
"app/theme-layouts/*": ["./src/app/theme-layouts/*"],
|
"./src/@lodash"
|
||||||
"app/AppContext": ["./src/app/AppContext"]
|
],
|
||||||
}
|
"@mock-api": [
|
||||||
|
"./src/@mock-api"
|
||||||
|
],
|
||||||
|
"app/store/*": [
|
||||||
|
"./src/app/store/*"
|
||||||
|
],
|
||||||
|
"app/shared-components/*": [
|
||||||
|
"./src/app/shared-components/*"
|
||||||
|
],
|
||||||
|
"app/configs/*": [
|
||||||
|
"./src/app/configs/*"
|
||||||
|
],
|
||||||
|
"app/theme-layouts/*": [
|
||||||
|
"./src/app/theme-layouts/*"
|
||||||
|
],
|
||||||
|
"app/contexts/AppContext": [
|
||||||
|
"./src/app/contexts/AppContext"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user