bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
194 stars 92 forks source link

Loading styles from node_modules. #218

Open hamorim opened 6 years ago

hamorim commented 6 years ago

First! Thanks for this plugin, helping me a lot.

I need a little help, my javascript files are been imported from node_modules folder in application.js.

I can't figure out how to import stylesheet files from node_modules too. There is a configuration where stylesheet will be found?

Thanks

davydotcom commented 6 years ago

there is no stylesheet loader support as of yet. this has to be done still using css require directives via asset-pipeline outside of javascript (css belongs with css still). We will however be looking into this very soon.