Add subpath imports (#1808)

zio/stable
Eric Bailey 2023-11-03 16:17:40 -05:00 committed by GitHub
parent 047f74c67d
commit 691af26895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ module.exports = function (api) {
{
alias: {
// This needs to be mirrored in tsconfig.json
'#': './src',
lib: './src/lib',
platform: './src/platform',
state: './src/state',

View File

@ -4,6 +4,7 @@
"jsx": "react-jsx",
"types": ["node"],
"paths": {
"#/*": ["./src/*"],
"lib/*": ["./src/lib/*"],
"platform/*": ["./src/platform/*"],
"state/*": ["./src/state/*"],