Open bonm opened 6 years ago
@bonm I want to make sure I fully understand. This change just removes the url parameters from the path before passing it on?
@jonkemp yes. file can't create with param at file system
...
<head>
<!-- build:js /js/all.js?rev=@@hash -->
<script type="text/javascript"
...
<!-- endbuild -->
</head>
gulp build
...
[13:54:23] Error: ENOENT: no such file or directory, open 'D:\project\newApp\ru\js\all_m.js?rev=@@hash'
at Error (native)
stream.js:74
throw er; // Unhandled stream error in pipe.
^
Could you add a test for this?
Also, why would you add a parameter like that to throw it away? I think most people use something like this plugin:
@jonkemp
Could you add a test for this?
Yes, i try
Usefull fix for user parametrs example
<!-- build:js /js/all.js?rev=1234 -->