This is something related to #45 (comment).
Using [hash] with postcss plugin in Rollup is impossible because it can't create file.
Example
I have this code:
postcss({
extract: 'bundle.[hash].css' // this creates my css file
}),
which works.
If I use this instead:
postcss({
extract: 'bundle.[hash:8].css' // this doesn't work
}),
it creates a file named bundle.[hash which is obviously wrong.
So the question:
can we change the placeholder for hash length?
Can we use something like [posthtml-hash-8] ([posthtml-hash-<LENGTH>])?
Thanks for your commitment.
This is something related to #45 (comment).
Using
[hash]withpostcssplugin in Rollup is impossible because it can't create file.Example
I have this code:
which works.
If I use this instead:
it creates a file named
bundle.[hashwhich is obviously wrong.So the question:
can we change the placeholder for hash length?
Can we use something like
[posthtml-hash-8]([posthtml-hash-<LENGTH>])?Thanks for your commitment.