buildpacks / registry-api

API for searching and reading the Buildpack Registry
Apache License 2.0
4 stars 8 forks source link

Eject webpacker for jsbundling-rails #127

Closed joshwlewis closed 2 months ago

joshwlewis commented 2 months ago

Rails has retired the webpacker gem and it's general strategy: https://github.com/rails/webpacker. This project made fairly heavy use of webpacker given it was used to compile typescript, react components, JS dependencies, and more.

Continuing to use webpacker is not an option, as it blocks upgrades of many other things, including Node.js, the runtime openssl version, and numerous webpack plugins.

The options to replace webpacker are:

For the most part, the changes here are the result of the process outlined here: https://github.com/rails/jsbundling-rails/blob/main/docs/switch_from_webpacker.md.

I've deployed this to staging and it works as expected.