Questions tagged [gulp-inject]

Gulp-inject is a tool specifically designed for Gulp, allowing seamless injection of JavaScript, stylesheets, and web components into your streaming build system.

Integrating JavaScript into HTML pages with corresponding file names

I am looking for a way to dynamically insert a .js file into an HTML page with the same filename using gulp-inject (for example, injecting index.min.js into index.html and data.min.js into data.html). The minified files are located in build/js and the HTML ...