build:css NOT working
- Dominant language
- JavaScript
- Stars
- 700
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
I'm using following code in my source HTML file:
``
```
```
``
But after compiling it is not concatenating, it creates `vendor.css` file but links to css files remains same instead of pointing to `vendor.css`, what could be the issue.
On the other hand `build:js` working just as expected. I'm using [Gulp Web App Generator](https://github.com/yeoman/generator-gulp-webapp) with `1.3.0` version of useref.
UPDATE: My `header.html` which contains this links to css files is not located in root `app` folder but it is in `app/partials/` folder.
UPDATE#2: On second try it doesn't seems to be subfolder issue either. I tried embedding these links in `footer.html` file which is located in same `app/partials/` folder. But now in this file it's working just fine. What could be the problem with `header.html` file? I tried stripping this file code to minimum to isolate any issue but in vain.
UPDATE#3: Here are contents of my `app/partials/header.html` and `app/partials/footer.html`, `` and `` tags work in `footer.html` but not in `header.html`.
header.html
`
<!doctype html>
<html class="no-js">
```
<head>
<title>pageTitle</title>
<!-- build:css styles/vendor.css -->
<link rel="stylesheet" href="styles/lib/royalslider.css">
<link rel="stylesheet" href="styles/lib/rs-default.css">
<link rel="stylesheet" href="styles/lib/rs-minimal-white.css">
<link rel="stylesheet" href="styles/lib/font-awesome.min.css">
<link rel="stylesheet" href="/bower_components/slidebars/dist/slidebars.css">
<link rel="stylesheet" href="/bower_components/magnific-popup/dist/magnific-popup.css">
<!-- endbuild -->
<!-- build:css styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
<!-- build:js scripts/vendor/modernizr.js -->
<script src="/bower_components/modernizr/modernizr.js">
```
`
footer.html
``
```
```
``
```
`
```
Contributor guide
Assessment
This issue has not been assessed yet.