You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, in the output stream, the source file includes/php/bottom.php is stripped to just bottom.php. This causes it to be written to the root of the directory passed to gulp.dest(). I couldn't find any combination of options to force it back into the correct directory.
Replacing path: "." with assetsDir: "." changes absolutely nothing.
Adding assetsDir: "." causes usemin to search 2 directories up for scripts???
Adding outputRelativePath: "includes/php" causes the destination script file to become includes\php\includes\js\app.js and changes nothing for bottom.php.
So, I don't know how tell usemin what I want. It really does seem like a bug to me, the fact that the output html filename is altered, and cannot be corrected in any way.
Node 8.2.1
NPM 5.3.0
Gulp 3.9.1
Usemin 0.3.28
The text was updated successfully, but these errors were encountered:
This is my structure, as far as this issue is concerned:
And my code block (in
bottom.php
):And my gulp task:
What actually happens:
What should happen:
Basically, in the output stream, the source file
includes/php/bottom.php
is stripped to justbottom.php
. This causes it to be written to the root of the directory passed togulp.dest()
. I couldn't find any combination of options to force it back into the correct directory.path: "."
withassetsDir: "."
changes absolutely nothing.assetsDir: "."
causes usemin to search 2 directories up for scripts???outputRelativePath: "includes/php"
causes the destination script file to becomeincludes\php\includes\js\app.js
and changes nothing forbottom.php
.So, I don't know how tell usemin what I want. It really does seem like a bug to me, the fact that the output html filename is altered, and cannot be corrected in any way.
The text was updated successfully, but these errors were encountered: