samedi 18 février 2017

Howto build individual css files pr component

For the MDC-Web project webpack bundles all components into a node_modules/material-components-web/dist/material-components-web.css For debug, understanding and integration, I try to build individual components, e.g. mdc-drawer.css

The documentation at section css indicates this is possible, but not how http://ift.tt/2h58MKj. So one could obtain e.g. dist/mdc-drawer.css and dist/mdc-drawer.min.css

I guess this should be done in the config of the webpack build http://ift.tt/2l50KWg

Anyone have tips on this?

Aucun commentaire:

Enregistrer un commentaire