I created an NPM package that includes a CSS file that needs to be included in my main CSS file. In a typical HTML CSS website, I would need to write @import url("./node_modules/web-creative-fonts/index.css") but what I really want is to simplify it to just @import "web-creative-fonts". I have done some research and discovered that this can be achieved using a webpack.config.js file, but I am struggling to figure out how to do it.
Is there anyone who can assist me with this?