Make paths more generic and add paths for @budibase imports

This commit is contained in:
Andrew Kingston 2024-03-19 09:49:44 +00:00
parent 749dab7f68
commit 07234a1c58
1 changed files with 7 additions and 13 deletions

View File

@ -7,19 +7,13 @@
"baseUrl": ".",
"paths": {
"assets/*": ["./assets/*"],
"components/*": ["./src/components/*"],
"pages/*": ["./src/pages/*"],
"templates": ["./src/templates"],
"templates/*": ["./src/templates/*"],
"stores/*": ["./src/stores/*"],
"dataBinding": ["./src/dataBinding.js"],
"api": ["./src/api.js"],
"constants": ["./src/constants"],
"constants/*": ["./src/constants/*"],
"analytics": ["./src/analytics"],
"actions": ["./src/actions"],
"helpers": ["./src/helpers"],
"helpers/*": ["./src/helpers/*"]
"@budibase/*": [
"../*/src/index.ts",
"../*/src/index.js",
"../*",
"../../node_modules/@budibase/*"
],
"*": ["./src/*"]
}
}
}