-
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
__DEV__ Vite config define breaks @elastic/apm-rum-core. #221
Comments
I've just encountered this problem as well with another package, resulting in this build error:
The The vite-ssr code mentions that this is a workaround for a bug in Vite v2.6.0: Line 34 in 650435f
Seems like that bug was fixed in v2.8.0? vitejs/vite#5515 FYI We're curently using Vite v4.5.3 |
PR opened: #222 |
No response from the repo owner after pinging them in this ticket, via their personal website, and via DM on twitter. Not sure what we can do here if the owner is unavailable. The last commit that was merged was over a year ago, has this repo/project been abandoned? |
thx @frandiox! 💪 |
Should be released in 0.17.2, sorry for the delay! |
Don't worry! The important thing is to keep going. PR teleport and unhead are also important. Please take a look on it! |
Hi!
Using the following code in plugins.ts breaks
@elastic/apm-rum-core
package:See @elastic/apm-agent-rum-js/issues/1372
Maybe using a more package specific naming like
__VITE_SSR_DEV__
could be very useful.The text was updated successfully, but these errors were encountered: