Skip to content

Conversation

@jcoyne
Copy link
Member

@jcoyne jcoyne commented Jun 20, 2024

There are warnings about sassc-rails being not supported since 2019 in https://guides.rubyonrails.org/asset_pipeline.html#cssbundling-rails

In rails 6:

The file /home/runner/work/blacklight/blacklight/.internal_test_app/app/assets/stylesheets/application.bootstrap.scss does not appear to exist

In rails 7.0:

$ esbuild app/javascript/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets
Error: R] No matching export in "node_modules/bootstrap/dist/js/bootstrap.esm.js" for import "default"

    app/javascript/application.js:5:7:
      5 │ import bootstrap from "bootstrap"
        ╵        ~~~~~~~~~

@jcoyne jcoyne force-pushed the css-sass branch 9 times, most recently from 7aec97a to 3e32c58 Compare June 20, 2024 20:53
@jcoyne jcoyne force-pushed the css-sass branch 7 times, most recently from 20bdfcc to abf1dc5 Compare July 18, 2024 16:08
@jcoyne jcoyne added this to the 9.X milestone Sep 23, 2024
@jcoyne jcoyne closed this Oct 17, 2024
@jcoyne jcoyne deleted the css-sass branch October 17, 2024 16:50
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.

2 participants