the way i do it (ex: import fonts from :

  • create a css file,
  • import external css in local css file
  • import local css file in js


you will need to add css-loader and style-loader to your dev dependencies in package.json

link to webpack docs:

Related Query

More Query from same tag