Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

166
Vistas
Sharing sass files between an npm package and a ruby gem

I have two libraries where I am creating view components. One library is written in sass for styles and typescript for markup. The other is using ruby for the markup (view helpers) and also using sass for the stylsheets.

I want to share the sass between both frameworks. The gem is a rails engine so it has this directory structure:

-app
--assets
---stylesheets
----engine_name
-----button.scss

the npm package is something like

-src
--components
---button.scss

How could these two codebases cleanly share button.scss I don't mind having both the gem and npm package in the same repo and accessing a common directory but how do you import sass files in a rails engine if the files are not actually at app/assets/**

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda