Created
April 16, 2025 21:02
-
-
Save imroca/c31b599c7266aac2b18c1a5f88db845d to your computer and use it in GitHub Desktop.
Node path aliasing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"baseUrl": "src", | |
"paths": { | |
"#*": [ | |
"./src/*" | |
] | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "project", | |
"version": "0.0.1", | |
"description": "project description", | |
"keywords": [], | |
"license": "MIT", | |
"author": "Name", | |
"type": "module", | |
"main": "index.js", | |
"scripts": { | |
"start": "node ./src/index.js", | |
"test": "node --test" | |
}, | |
"imports": { | |
"#*": "./src/*" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment