octree-gva / docker

Docker images for decidim
https://decidim.org
GNU Affero General Public License v3.0
1 stars 0 forks source link

027+dev: bundle exec rails assets:precompile don't work #2

Closed froger closed 1 year ago

froger commented 1 year ago

As newest version of decidim don't use the sass gem but the new dart alternative, the gems won't compile. There are two options to consider:

  1. Add a webpack configuration to use sass gem while on alpine
  2. Add the necessary executables to run dart-node.

Reference:

Known fix:

  1. create a new decidim sass loader, using the sass gem, and add the overrides. (/config/webpacker/custom.js)
  2. add the gem sass to the gemfile
froger commented 1 year ago

As this issue states, we will need to wait before supporting sass-embedded in decidim-sass-loader. So I will go for adding the known fix while alpine is not supported.

froger commented 1 year ago

We switch on debian, this is not anymore an issue.