Open sarat1669 opened 1 year ago
tsconfig.json path aliases are not working
tsconfig.json
Path aliases to work
People who want to avoid ../../../ hell
../../../
Tried solution mentioned in tsdx issues https://github.com/jaredpalmer/tsdx/issues/379#issuecomment-568202209
{ ... "compilerOptions": { "jsx": "react-jsx", "esModuleInterop": true, "paths": { "@uikit/*": ["./src/uikit/*"], ... } } ... }
import { Box as Box$2 } from '@uikit/components';
✘ [ERROR] Could not resolve "@uikit/components" ../repositories/elemason/dist/elemason.esm.js:11:1047: 11 │ ...ent, TextArea as TextArea$2, ToastRoot } from '@uikit/components';
i have the same error
Current Behavior
tsconfig.json
path aliases are not workingDesired Behavior
Path aliases to work
Who does this impact? Who is this for?
People who want to avoid
../../../
hellDescribe alternatives you've considered
Tried solution mentioned in tsdx issues https://github.com/jaredpalmer/tsdx/issues/379#issuecomment-568202209
Additional context
tsconfig.json
dist/elemason.esm.js