egoist / egoist/rollup-plugin-postcss
Should respect Style Inject insertAt option
- Dominant language
- JavaScript
- Stars
- 689
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
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}});';
}`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.