Skip to content

support tsconfig path alias#39

Merged
timlrx merged 1 commit into
mainfrom
path-alias
Sep 12, 2024
Merged

support tsconfig path alias#39
timlrx merged 1 commit into
mainfrom
path-alias

Conversation

@timlrx

@timlrx timlrx commented Sep 10, 2024

Copy link
Copy Markdown
Owner

Fix #38

An alternative way would be to remove makeAllPackagesExternalPlugin and use the packages option in esbuild i.e. esbuild app.js --bundle --packages=external. This might restrict supporting older versions of esbuild so I went with modifying the plugin instead. Tested to work locally.

@timlrx timlrx merged commit a5273e8 into main Sep 12, 2024
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.

ContentLayer does not follow the path aliases defined in tsconfig.json

1 participant