-
Notifications
You must be signed in to change notification settings - Fork 91
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
double-imported esm and cjs modules in the esbuild dist for RapiD #492
Comments
Some google-fu resulted in this page: evanw/esbuild#1950, I will be using it as a template to investigate this issue too. After turning on 'logLevel: verbose' mode in the esbuild.config.js file, performing a build with
This pretty clearly shows that the |
Fixed in 8b3761b while upgrading to v7. In the course of upgrading to v7, I decided to wholly gobble up the pixi-dashed-line repo and rehost / rebuild it with our country-coder techniques as the last release was well over a year ago and there has been no movement on the original repo. The new repo is at https://github.com/Bonkles/pixi-dashed-line. This had the added benefit of driving out the double dependencies! |
Here's a view of the docs/statistics page currently:
All the pixi modules are double-imported, once for ecma script modules (ESM) and once for commonJS (CJS). This leads to a very large bundle size, because we're effectively importing the entirety of pixi twice. Need to investigate why this is.
The text was updated successfully, but these errors were encountered: