darg0n

Results 2 comments of darg0n

hi, @fpicoitoj I tried the same as you, but I think it's caused by this plugin(`vite-plugin-css-injected-by-js`), it will directly inject css into the head under document instead of the style...

this is my solution ```ts # utils/plugins/build-content-script.ts ... plugins: [ cssInjectedByJsPlugin({ // styleId: `foo-${Math.random() * 100}`, injectCode: (cssCode, options) => { return `try{ if(typeof document != 'undefined'){ const shadowDOM =...