0.2.3 • Published 2 years ago

@senojs/rollup-plugin-style-inject v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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.

0.2.1

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago