Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve paths from tsconfig as webpack aliases #200

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cezaraugusto
Copy link
Member

I was trying to create a new extension with shadcn/ui but couldn't. Wiith this PR I can :P

Mostly, this resolves the tsconfig.json "paths" property and makes it a webpack resolver alias.

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

This PR (soon) includes a shadcn/ui example.

Copy link

pkg-pr-new bot commented Sep 30, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/extension-js/extension.js/extension@200
pnpm add https://pkg.pr.new/extension-js/extension.js/extension-create@200
pnpm add https://pkg.pr.new/extension-js/extension.js/extension-develop@200

commit: 669f2d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant