⚠️ Breaking changes:
- feat: remove css injecting, update apis by @crashmax-dev in #28
Before:
import './style.css' // currently not working
After:
import style from './style.css?raw'
// adds the given style to the document and returns the injected style element
const styleElement = GM_addStyle(style)
// you can remove the style element
styleElement.remove()
Full Changelog: 1.10.0...1.11.0