对于MDC-Web项目,webpack将所有组件集成到node_modules/material-components-web/dist/material-components-web.css
为了调试,理解和集成,我尝试构建单个组件,例如, mdc-drawer.css
MDC-web Howto构建单独的css文件pr组件
css部分的文档表明这是可能的,但不是如何https://github.com/material-components/material-components-web。所以人们可以获得例如dist/mdc-drawer.css
和dist/mdc-drawer.min.css
我想这应该在的WebPack的配置进行构建https://github.com/material-components/material-components-web/blob/master/webpack.config.js
任何人有这个提示?