readium / r2-testapp-js

NodeJS Readium2 "test app"
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

material-components-web full CSS import, vs. SASS selective imports #11

Open danielweck opened 5 years ago

danielweck commented 5 years ago

material-components-web.css 300+ KB! https://unpkg.com/material-components-web@0.41.0/dist/

<link rel="stylesheet" href="./material-components-web.css" > https://github.com/readium/r2-testapp-js/blob/fa6265ca40badda9b63da1bfae192345c5248036/src/electron/renderer/index.html#L8 ( https://github.com/readium/r2-testapp-js/blob/develop/src/electron/renderer/index.html#L8 )

danielweck commented 5 years ago

Build step: node_modules/material-components-web/dist/material-components-web.css https://github.com/readium/r2-testapp-js/blob/fa6265ca40badda9b63da1bfae192345c5248036/package-scripts-build.cson#L30 ( https://github.com/readium/r2-testapp-js/blob/develop/package-scripts-build.cson#L30 )