-
Notifications
You must be signed in to change notification settings - Fork 135
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
Vite build: Unexpected keyword 'false' in service-factory.js #1372
Comments
Having the same issue |
Problem still exists. @luc-anise have you found a solution in the meantime? |
I was using vite and had a custom env variable for dev so I removed that and it worked |
I use rollup plugin replace like described in the documentation https://www.elastic.co/guide/en/apm/agent/rum-js/current/install-the-agent.html#_rollup but it does not work. On build plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify('production')
})
]
If I build in production mode, then I get the same error but
|
How can I exclude |
Hi!
I use Vite 4.x, Vue 3.x and @elastic/apm-rum-vue 2.1.2. Building the app I get this error:
Is it a bug or a misconfiguration?
The text was updated successfully, but these errors were encountered: