egoist / rollup-plugin-postcss

Seamless integration between Rollup and PostCSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I add nonce value at run time in style tag injected by library which is using postcss to bundle css file ?

ayush3899 opened this issue · comments

We tried option provided by the inject option but it did't add the nonce value at run time.

Is there any alternative to avoid csp style-src unsafe-inline
If we use extract: true how to reference the style from the source?
When using extract true seem I need to reorg reference to the styles

have not made it work, do you have any reference or alt to avoid inline style ?