

Options NameĪllows to enables/disables url()/ image-set() functions handlingĪllows to enables/disables at-rules handlingĪllows to enables/disables or setup CSS Modules optionsĮnables/Disables generation of source mapsĪllows enables/disables or setups number of loaders applied before CSS loader for Modules and ICSS importsĪllows exporting styles as array with modules, string or constructable stylesheet (i.e. do not store CSS in a JS module) you might want to check out the recommend example. If, for one reason or another, you need to extract CSS as a file (i.e.


Use :, }, ], }, } Īnd run webpack via your preferred method. Then add the plugin to your webpack config. To begin, you'll need to install css-loader: npm install -save-dev css-loader The css-loader interprets and url() like import/require() and will resolve them.
