romanschejbal / gassetic

Assetic replacement based on the gulp build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working with assets

amqex opened this issue · comments

I think gassetic is great. But is there an option or a task to copy images, fonts etc over in dev environment so they can exclude the underscore and number like in prod environment? For example: so instead of image_1.png, it would be just image.png. I am wondering how and the best way to link to them while watching them in dev environment.

I have just released a new version that supports this. Add autoRenaming: false to your config so it looks like this:

css:
  dev:
    ...
    autoRenaming: false

Dont forget to update gassetic npm install -g gassetic

Nice, just updated. Works great!