-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding package leads to build errors Code Unable to Build - Nuxt Build Error: [vite:build-import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files #390
Comments
Hi @nosizejosh According to your original bug report, your file |
hello @vejja
|
It's an upstream issue with https://github.com/Talljack/unplugin-remove.git In the meantime, can you try disable the functionality in export default defineNuxtConfig({
security: {
removeLoggers: false
}
}) And let me know if it works ? |
Thanks @vejja for taking care of it! @nosizejosh let us know if that works for you |
@vejja Thanks for the quick response. Yes! build passed on both local and prod server. Thank you for the package ( though I am now trying to understand how to really use it) Will keep this open until a final resolution. |
No problems @nosizejosh ! In summary, you are good to go with this setup. Just remember that you may want to clean up your logs in your final production build. |
@Baroshem FYI upstream was fixed today |
Awesome, thanks @vejja ! I will add a bump of the package on our side and release it with the upcoming 1.3.0 release :) |
Adding this package to my code leads to errors and prevents build.
more on this error on this nuxt issue here https://github.com/nuxt/nuxt/issues/26011
Version
The text was updated successfully, but these errors were encountered: