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/configs': `${prefix}/app/configs`,
|
||||
'app/theme-layouts': `${prefix}/app/theme-layouts`,
|
||||
'app/AppContext': `${prefix}/app/AppContext`,
|
||||
'app/contexts/AppContext': `${prefix}/app/contexts/AppContext`,
|
||||
});
|
||||
|
||||
module.exports = aliases;
|
||||
|
||||
@@ -1,16 +1,34 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@fuse/*": ["./src/@fuse/*"],
|
||||
"@history*": ["./src/@history"],
|
||||
"@lodash": ["./src/@lodash"],
|
||||
"@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/AppContext": ["./src/app/AppContext"]
|
||||
}
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@fuse/*": [
|
||||
"./src/@fuse/*"
|
||||
],
|
||||
"@history*": [
|
||||
"./src/@history"
|
||||
],
|
||||
"@lodash": [
|
||||
"./src/@lodash"
|
||||
],
|
||||
"@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