I\'m working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes.
The gulp task compiles everything
Comments in your file will trip this. Some minifiers will not remove comments.
ALSO
If you use Node.js and set your static files using express such as:
app.use(express.static(__dirname + '/public'));
You need to properly address the files.
In my case both were the issue, so I prefixed my CSS links with "/css/styles.css".
Example:
0
讨论(0)