Skip to content
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

Use importmaps instead of node/webpack #139

Merged
merged 17 commits into from
Dec 22, 2023
Merged

Conversation

santiagorodriguez96
Copy link
Contributor

Summary

  • Importmaps is the default for new rails apps (webpacker has been retired)
  • This eliminates the need for node in development/prod
  • Simplifies setup a lot

@santiagorodriguez96 santiagorodriguez96 force-pushed the sr--use-importmaps branch 2 times, most recently from 705a0ff to 79b8a5a Compare December 15, 2023 21:00
Copy link
Member

@brauliomartinezlm brauliomartinezlm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

We were getting a `ReferenceError: require is not defined` error when
loading `sinon` which then resulted in the tests failing with a
`Cannot read properties of undefined (reading 'stub')` error.
@santiagorodriguez96 santiagorodriguez96 merged commit 11630dd into master Dec 22, 2023
1 check passed
@santiagorodriguez96 santiagorodriguez96 deleted the sr--use-importmaps branch December 22, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants