postcss-copy icon indicating copy to clipboard operation
postcss-copy copied to clipboard

Feature Request: easy way to disable file renaming

Open dominic-p opened this issue 7 years ago • 0 comments

First off, thanks for the great plugin. I really love working with it.

One minor issue for me is that I don't want asset files renamed. In order to accomplish that I'm currently defining the following template function:

meta => meta.name + '.' + meta.ext + meta.query

This works, but, in my opinion, it would be a lot cleaner and more future proof to have a simple switch to disable file renaming. Maybe you could just pass false to the hashFunction setting?

dominic-p avatar Oct 31 '18 07:10 dominic-p