Add an import alias for shorter filepath imports
This commit is contained in:
parent
1f86b68e4c
commit
e434aea6ac
3 changed files with 10 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "tsc",
|
||||
"start": "node dist/main.js"
|
||||
},
|
||||
},
|
||||
"author": "Oliver Akins",
|
||||
"license": "UNLICENSED",
|
||||
"dependencies": {
|
||||
|
|
@ -21,5 +21,8 @@
|
|||
"devDependencies": {
|
||||
"@types/glob": "^7.2.0",
|
||||
"@types/uuid": "^8.3.4"
|
||||
},
|
||||
"_moduleAliases": {
|
||||
"@": "./dist"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue