My project is using HTML5Boilerplate and contains subdirectories with HTML files that reference /js and css/ in the main root folders.
Example: /article/xxx/index.html /article/yyy/index.html
These .html files have relative path href/src to the css/js files in the root folder.
<link rel="stylesheet" href="../../css/style.css" />
<script src="../../js/plugins.js"></script>
<script src="../../js/script.js"></script>
I'm trying to have the build script recognise these files in the subdirectories and replace the paths accordingly to the concatenated/minified JS and CSS files and I tried adding this to the file.pages property on project.properties
file.pages = index.html, article/xxx/*.html, article/xxx/*.html
But no dice, the CSS/JS paths get replaced as if the files are in the root folder, like so:
<link rel=stylesheet href='css/7d3586f292b65c896ef495e2e8ef042901d7c2e2.css'>
Which doesn't work evidently. Would be really grateful if anyone knows a workaround/modification for this or if this might just plain be a no-go?
Thanks in advance to any help :D