h5bp/html5-boilerplate — Issue #839: Relative ../ js and css links get wiped out on compression.
Author: lazukars
Created: 2011-11-04 02:22:59+00:00
State: open

This happens when you have a file in a a sub folder example/index.html that has relative links pointing up one directory.

Say my file example/index.html has the following code:

The ant script will strip those ../ relative links out, and it will look something like this:

There is a Stackoverflow question about this ( below ), but the answer does not solve the problem. If you do what the answer states, the build script still strips out the ../ relative links.

http://stackoverflow.com/questions/7554309/html5-boilerplate-build-script-html-in-subfolders-and-relative-links-to-css-js