Maker CSS Importer
Read the "require" of you javascript files. to make a CSS Importer.
$ cssload i app/components/*.js -r resources/styles
How do it
In your Javascript file, define a comet with the next syntax:
// myComponent.js/* CSSFile:
Read the "require" of you javascript files. to make a CSS Importer.
$ cssload i app/components/*.js -r resources/styles
In your Javascript file, define a comet with the next syntax:
// myComponent.js/* CSSFile:
npm i css-load-import
2
1.0.0-beta.7
MIT