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

Remove sassc sprockets #1

Closed
wants to merge 19 commits into from
Closed

Remove sassc sprockets #1

wants to merge 19 commits into from

Conversation

langalex
Copy link
Member

@langalex langalex commented Dec 19, 2024

Replace tho deprecated sassc/sprockets gems and replace them with propshaft/css-/jsbundling-rails.

This requires us to add compiled JS/CSS to git (see app/assets/builds), otherwise apps using this gem would have to build it.
As a side effect, apps using Sprockets should continue to work as Sprockets can just pick up the compiled files.

TODO

Make JS work with ESM, replace vendored JS with npm packages:

  • burger menu
  • file_upload.js
  • flatpickr/i18n
  • redactor/i18n - not working. i18n files do not work with esm imports.
  • wysiwyg.js
  • codemirror.js

@langalex langalex closed this Dec 19, 2024
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.

1 participant