diff --git a/babel.config.js b/babel.config.js index 78edf574..92412049 100644 --- a/babel.config.js +++ b/babel.config.js @@ -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', diff --git a/tsconfig.json b/tsconfig.json index 4cae9d24..24c347c7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "jsx": "react-jsx", "types": ["node"], "paths": { + "#/*": ["./src/*"], "lib/*": ["./src/lib/*"], "platform/*": ["./src/platform/*"], "state/*": ["./src/state/*"],