Now, plugin calls styleInject without additional properties. Could you fix it?
What i see in rollup-plugin-postcss.cjs.js:
if (!shouldExtract && shouldInject) { output += '\nimport styleInject from '${styleInjectPath}';\nstyleInject(css${Object.keys(options.inject).length > 0 ? ',${JSON.stringify(options.inject)}' : ''});
;
}`
Temp solution:
if (!shouldExtract && shouldInject) { output += '\nimport styleInject from '${styleInjectPath}';\nstyleInject(css${Object.keys(options.inject).length > 0 ? ',${JSON.stringify(options.inject)}' : ''}, {insertAt: ${options.styleInject.insertAt}});'; }
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too