Open taylor-hunt-kr opened 3 years ago
I was able to fix the warning by moving a seemingly-unrelated chunk of code, so if you find that you cannot reproduce this bug, then that means I mistakenly assumed it was a bug in rollup-plugin-styles
. Sorry about that!
Whoop, spoke too soon; it appears to be somewhat non-deterministic.
I forgot to show my plugin config, sorry about that:
stylesPlugin({
mode: 'extract',
sourceMap: true,
minimize: __PROD__,
url: {
publicPath,
hash: '[hash].[ext]'
}
})
Some CSS like this:
…produces the following Rollup warning:
While nothing breaks, processing
url()
assets only once each seems like a good possible improvement.