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
If for example the HTML file contains: <script src="/components/myscript.js"></script>
the task fails to locate the file because it appends the current folder to that path. For example, my HTML is into /dist/views/myhtml.html then the task is trying to locate: /dist/views//components/myscript.js (notice the double slash after 'views') and it should use /components/myscript.js (relative to project root)
If for example the HTML file contains:
<script src="/components/myscript.js"></script>
the task fails to locate the file because it appends the current folder to that path. For example, my HTML is into
/dist/views/myhtml.html
then the task is trying to locate:/dist/views//components/myscript.js
(notice the double slash after 'views') and it should use/components/myscript.js
(relative to project root)i'm using this in files:
files: [{ expand: true, src: ['dist/views/**/*.html','!dist/views/**/*.combo.html'], dest: '/dist/views/', ext: '.combo.html' }]
The text was updated successfully, but these errors were encountered: