romanschejbal / gassetic

Assetic replacement based on the gulp build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate file name

jdeniau opened this issue · comments

Hi,

I got a small bug with the current config:

files:
    - "foo/bar.css"
    - "baz/bar.css"

The output file name for those files is bar.css, and the second one override the first.
A temporary solution is to add a freeze task at the end, but I think this should be treated on the core process.

Can you post the whole "files" section from your config? Because this seems like an invalid list of files.

UPDATE: Actually I see what is the problem, yea you are right... This is a bug.. Temporary solution for you would be specifing the files like this

files:
 build.css:
  - css/**/*.css

Gulp then keeps the paths (foo and baz in this case) inside of the generated folder.

Ok thats fixed now