Closed Diokuz closed 6 years ago
Currently rebase
for fallback not supported, you can set as fallback copy
or custom function.
I will add support rebase
in next release.
My workaround here:
require('postcss-url')({ url: 'inline', maxSize: 4 }),
// @todo remove second `postcss-url` after https://github.com/postcss/postcss-url/issues/104
require('postcss-url')({ url: 'rebase', to: './src' }),
:)
I want to inline all files under
4 kb
and resolve all others. How can I do that?I mean this one
should transform to
My options object looks like
But nothing happens for big files.