mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Add ability to use absolute paths for import
closes TryGhost/Team#2264 - Instead of relative paths, we can use absolute. It helps to keep code cleaner and don't worry about import when doing refactoring. Relative paths require rewriting them in case a file is moved to another directory.
This commit is contained in:
parent
f151d223c3
commit
991e628022
1 changed files with 6 additions and 0 deletions
6
ghost/portal/jsconfig.json
Normal file
6
ghost/portal/jsconfig.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "src"
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
Loading…
Add table
Reference in a new issue