Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork217
fix: fix for tests#603
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There seems to be a process to publish the module that renames the bundle-esm.js file to bundle.js. I don't know why we need to name the webpack generated file with the -esm suffix.
5ba1970
tof62bdd3
Comparerchavp commentedDec 12, 2023
Has anyone figured out how to fix this issue? I was really looking forward to using this library in our production pipeline, but I can't remove Vite unfortunately and local hacks/fixes are a no go either. |
I'm afraid we've had zero feedback from the maintainers on either of my PRs, so we can't do much anymore. |
risenW commentedApr 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
2da0e48
intojavascriptdata:devUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Browser tests are filing as the bundle file Karma tries to load is not found and frontend tests fail to even start.
It looks like the issue was introduced by#516 and I'm not sure what it aimed to solve since the esbuild generated file is bundle.esm.js, whilst the webpack one was bundle-esm.js (simply bundle.js with this PR.)
I think the file rename was unnecessary, so I've reverted that.
We could also update the karma configuration file to use bundle-esm.js, it fixes the browser tests as well.