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

193
Views
How to import installed plugins via npm into Gulp final build?

There is a Gulp build for small projects. For example: I installed the plugin via npm import <Plugin Name> from <Plugin Path>. In theory, then I connect it to scripts.js and everything should work.

But there is a problem that I can't solve. The assembly works with files in the dist directory. And so the plugin application does not see. Gives an error either that there is no such path, or that the file is not loaded.

The question is, how can I use Gulp to pass all the necessary files to the final assembly for the application to work, while ignoring the files in devDependencies so that the command import <Plugin Name> from <Plugin Path> works in scripts.js and does not give an error?

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!