V
V
vasichkin-v2020-02-05 18:56:55
gulp.js
vasichkin-v, 2020-02-05 18:56:55

Is it possible to somehow disable the substitution of the domain from the proxy to the path to the * .css file or how to solve the problem with not loading the map?

Couldn't find an answer on the internet.
The assembly is performed on gulp 4
After making changes to the * .sass file, it executes brousersync.stream ()
Then the path to the css file automatically changes. From href="css/main.css" to href=" http://my_domain_from_proxy:3000/css/main.css?browse... ".
Actually css has been updated, but through the code inspector you can no longer find the desired line in the sass files.

Map is written to the same file (to the root of main.css)
If you change the path to href="css/main.css?browsersync=12345678" in the code inspector, then everything is ok.

Is it possible to somehow disable the substitution of the domain from the proxy to the path to the css file, or somehow solve the problem with the map not loading?

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