![]() ![]() 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. For example:Ī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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |