I need to include some external css/js files in my webpack project. Currently I'm doing this which doesn't seems to work.
let inputCss = document.createElement("link"); inputCss.setAttribute('href', "../../assets/iti/css/intlTelInput.css"); inputCss.setAttribute("rel", "stylesheet");
I tried adding the file with absolute path, still it doesn't work. so just as a work around I'm pasting the link from cdn to make it work, but I need to import that file locally.
any help will be highly appreciated