0.2.3 • Published 3 years ago
@senojs/rollup-plugin-style-inject v0.2.3
@senojs/rollup-plugin-style-inject
Inject style to document head.
Usage
// vite.config.js
import styleInject from '@senojs/rollup-plugin-style-inject'
export default {
  plugins: [
    styleInject({
      insertAt: 'top',
    }),
  ],
}Options
insertAt
- Type: 
string - Default: 
'top' 
Insert <style> tag to specific position of <head> element.