-
-
Save kimniche/c7a2b1b6de3a926ffe1ee6963c5a3bbc to your computer and use it in GitHub Desktop.
css based on entry like routes - https://webpack.js.org/plugins/mini-css-extract-plugin/
https://github.com/postcss/postcss-devtools Log execution time for each plugin in a PostCSS instance.
css-loader & style-loader -- is this all it takes to let us to something like
import styles from './ComponentStyles.css'
like we do for CRA apps?
https://javascriptplayground.com/css-modules-webpack-react/
css-loader reads in a css file as a string. You could replace it with raw-loader and get the same effect in a lot of situations. Since it just reads the file contents and nothing else, it's basically useless unless you chain it with another loader.
style-loader takes those styles and creates a <style> tag in the page's element containing those styles.
https://github.com/webpack-contrib/css-loader/releases