Answer the question
In order to leave comments, you need to log in
How to change paths to styles and js in Grunt?
Good day everyone!
The essence of the question is the following, I build a project on Grunt, everything is fine, I collect all css into one, all js into one, but how to change the paths in index.html in the final file so that the path automatically changes to the created single css and js file, respectively?
Can anyone tell me which plugin to use?
Answer the question
In order to leave comments, you need to log in
You can use https://www.npmjs.com/package/grunt-replace to get out, but perhaps there is a more specialized solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question