Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

192
Views
import external static file in webpack

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

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!