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

Paper JS prevents using es-buiild packagr #2035

Open
petbuc16 opened this issue May 19, 2023 · 1 comment
Open

Paper JS prevents using es-buiild packagr #2035

petbuc16 opened this issue May 19, 2023 · 1 comment

Comments

@petbuc16
Copy link

es-build-error

Angular now supports es-build: https://angular.io/guide/update-to-version-16#faster-builds-with-the-esbuild-developer-preview

But paperjs deps are causing the issue above...
Can we fix this?

@emn-dev
Copy link

emn-dev commented Nov 3, 2023

Hi @petbuc16 , here is repo demostrating what is wrong = https://github.com/emn-dev/ng-esbuild-paperjs
The problem isn't with paperJs, it is with Angular's wrapper around esbuild. Vite doesn't use esbuild alone, it uses a mix of esbuild and rollup. I'm not sure what Angular's final plan is with esbuild, but esbuild doesn't really doesn't want to get to into the weeds on supporting all frontEnd frameworks and edge cases. In any case, if you still having issues it really could be fixed most easily by Angular team. :)

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

No branches or pull requests

2 participants