-
-
Notifications
You must be signed in to change notification settings - Fork 16
Stimulus is always in debug mode #120
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
Comments
Hi, thanks for your report and your investigation, I didn't notice these lines changed when migrating to Rolldown. I'm gonna open a PR asap |
Kocal
added a commit
to Kocal/symfony-stimulus-bridge
that referenced
this issue
Apr 18, 2025
Fixed by #121, it has been released in 4.0.1 version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
After #99,
application.debug
is alwaystrue
in any environment. I found it after noticing that debug messages are always logged in console.I assume it has something to do with a new bundler, which for some reason removed the environment check. Just compare these lines in the compiled code (source is unchanged):
v3.2.3
stimulus-bridge/dist/index.js
Lines 32 to 36 in 771a077
v4.0.0
stimulus-bridge/dist/index.js
Lines 26 to 29 in 29203f1
The text was updated successfully, but these errors were encountered: