jeudi 27 novembre 2014

Building packages separately but dependent on theme scss

Hi all!

My application is separated into 1 app, 1 theme package, 1 core functionality package, and a bunch of module packages which may be included in various combinations. The way to accomplish this is (I think, unless these is a better way?) to build each package separately and then serve an index.html that adds the package's .js and .css files based on which package should be included.


The problem is that the packages won't build because they are dependent on the theme package's SCSS variables. IE if I define some custom SCSS variables or mixins, etc in the theme, then attempt to use them in the package the build process fails to find them. The application itself builds fine.


The packages currently require the theme package... is there something I am missing?






Building packages separately but dependent on theme scss

Aucun commentaire:

Enregistrer un commentaire