M
M
Maxim2019-06-28 09:30:53
gulp.js
Maxim, 2019-06-28 09:30:53

How to remove certain included JS,CSS from HTML?

For the convenience of development, I connect CSS and JS to HTML, but after building the project, CSS and JS are not needed.
How can I configure that connection strings are removed from a certain file at build time?
I use gulp-inline-source to build, but I didn’t find an option to remove it ...
I saw a lot of all sorts of modules gulp-replace gulp-remove-code which is more suitable for my purposes?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question