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?