K
K
Koreetz Koreetz2017-03-14 17:22:36
Building projects
Koreetz Koreetz, 2017-03-14 17:22:36

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

1 answer(s)
K
Konstantin Kitmanov, 2017-03-14
@k12th

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 question

Ask a Question

731 491 924 answers to any question