@senojs/rollup-plugin-style-inject
v0.2.3
Published
rollup-plugin-style-inject
Downloads
476
Readme
@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.