@farris/rollup-plugin-vue
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

rollup-plugin-vue@next

Roll Vue 3 SFCs with Rollup.

import vuePlugin from 'rollup-plugin-vue'

export default {
  plugins: [
    vuePlugin(/* options */)
  ]
}

Options

export interface Options {
  include: string | RegExp | (string | RegExp)[]
  exclude: string | RegExp | (string | RegExp)[]

  // use 'node' if compiling for SSR
  target: 'node' | 'browser'

  // if true, will attach __file to component even in production.
  // defaults to false.
  exposeFilename: boolean

  // if true, handle preprocessors directly instead of delegating to other
  // rollup plugins
  // defaults to false.
  preprocessStyles?: boolean
  cssModulesOptions?: {
    // https://github.com/css-modules/postcss-modules#usage
  }

  // these are simply passed on to @vue/compiler-sfc
  compiler
  compilerOptions
  transformAssetUrls
  preprocessCustomRequire
}

Readme

Keywords

none

Package Sidebar

Install

npm i @farris/rollup-plugin-vue

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

40.7 kB

Total Files

24

Last publish

Collaborators

  • lvjiabiao
  • lijiangkun
  • muyi-s
  • wangjinzhe
  • cassiel19
  • zhangqian09
  • volibear
  • hog-rider
  • castint
  • jiweitao1986
  • chenshj
  • hxling
  • ximena
  • wang-xh
  • huyuyang
  • courage007
  • liwftr
  • testqq
  • guozhiqi
  • tsing-y
  • zhuorujing
  • aalizzwell
  • gibbonnet
  • max.wang
  • npm407949480
  • toxiic
  • douck
  • yee-xing