ui icon indicating copy to clipboard operation
ui copied to clipboard

Path Aliases is not compatible with esbuild

Open cirdes opened this issue 2 years ago • 1 comments

I'm using shadcn ui with esbuild but it does not support alias as shadcn ui uses:

https://github.com/evanw/esbuild/issues/2191

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["./*"]
    }
  }
}

My suggestion it to use "lib/utils" or "./lib/utils" in components to make it more portable

cirdes avatar May 04 '23 19:05 cirdes

This is very interesting can you share your repo where you are using it

tuminzee avatar May 09 '23 12:05 tuminzee

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Jul 02 '24 23:07 shadcn