You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ViteRails with ViteLegacy and it seems the plugin legacy is not working as expected.
I am trying to use this config to provide replaceAll polyfill:
Is this PR maybe related?
It's quite old PR but not sure why it was not never merged. (uses the 4.0 plugin-legacy version. Now there is version 5.0. Maybe it's needed to update for the latest version to support correct legacy same as the plugin legacy does?
bundle update vite_ruby
.Description 📖
I am using ViteRails with ViteLegacy and it seems the plugin legacy is not working as expected.
I am trying to use this config to provide replaceAll polyfill:
It seems that viteLegacy also adds some id's to provide correct polyfills support.
Is this PR maybe related?
It's quite old PR but not sure why it was not never merged. (uses the 4.0 plugin-legacy version. Now there is version 5.0. Maybe it's needed to update for the latest version to support correct legacy same as the plugin legacy does?
Reproduction 🐞
Created an example repo
https://github.com/alexookah/rails_example
Added a simple test console.log with
replaceAll
https://github.com/alexookah/rails_example/blob/master/app/frontend/entrypoints/example_import.js
Screenshots 📷
The text was updated successfully, but these errors were encountered: