rollup-plugin-vue

> Roll Vue 3 SFCs with Rollup.

MIT 102 个版本
安装
npm install rollup-plugin-vue
yarn add rollup-plugin-vue
pnpm add rollup-plugin-vue
bun add rollup-plugin-vue
README

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
}
版本列表
6.0.0-beta.11 2020-11-02
6.0.0-beta.10 2020-07-30
6.0.0-beta.9 2020-07-16
6.0.0-beta.8 2020-07-15
6.0.0-beta.7 2020-07-15
6.0.0-beta.6 2020-06-05
6.0.0-beta.5 2020-06-04
6.0.0-beta.4 2020-06-02
6.0.0-beta.3 2020-05-27
6.0.0-beta.2 2020-05-27
6.0.0-beta.1 2020-05-19
6.0.0-alpha.10 2020-05-07
6.0.0-alpha.9 2020-05-07
6.0.0-alpha.8 2020-05-05
6.0.0-alpha.7 2020-05-01
6.0.0-alpha.6 2020-04-29
6.0.0-alpha.5 2020-04-26
6.0.0-alpha.4 2020-04-24
6.0.0-alpha.3 2020-04-24
6.0.0-alpha.2 2020-04-24
6.0.0-alpha.1 2020-04-03
6.0.0-alpha.0 2020-04-03
6.0.0 2020-11-25
5.1.9 2020-05-22
5.1.8 2020-05-22
5.1.7 2020-05-11
5.1.6 2020-01-22
5.1.5 2020-01-09
5.1.4 2019-11-21
5.1.3 2019-11-21
5.1.2 2019-10-27
5.1.1 2019-10-26
5.1.0 2019-10-26
5.0.1 2019-06-26
5.0.0 2019-04-11
4.7.2 2019-02-20
4.7.1 2019-02-05
4.7.0 2019-02-05
4.6.2 2019-01-26
4.6.1 2019-01-14
4.6.0 2019-01-14
4.5.0 2019-01-14
4.4.0-alpha.0 2018-08-29
4.4.0 2019-01-10
4.3.2 2018-07-31
4.3.1 2018-07-13
4.3.0 2018-06-24
4.2.0 2018-05-25
4.1.5 2018-05-25
4.1.4 2018-05-15
4.1.3 2018-05-12
4.1.2 2018-05-12
4.1.1 2018-05-12
4.1.0 2018-05-09
4.0.2 2018-05-06
4.0.1 2018-05-02
4.0.0-alpha.1 2018-03-18
4.0.0 2018-05-01
3.0.0 2017-12-01
2.5.4 2017-12-01
2.5.3 2017-12-01
2.5.2 2017-10-06
2.5.1 2017-09-30
2.5.0 2017-09-26
2.4.2 2017-09-08
2.4.1 2017-07-24
2.4.0 2017-05-12
2.3.1 2017-03-17
2.3.0-beta.5 2017-03-02
2.3.0-beta.4 2017-02-28
2.3.0-beta.3 2017-02-27
2.3.0-beta.2 2017-02-07
2.3.0-beta.1 2017-02-02
2.3.0 2017-03-13
2.2.21 2017-02-27
2.2.20 2017-02-07
2.2.19 2017-01-29
2.2.18 2017-01-23
2.2.17 2017-01-23
2.2.16 2017-01-18
2.2.15 2017-01-10
2.2.14 2016-12-16
2.2.13 2016-12-14
2.2.11 2016-12-13
2.2.10 2016-11-25
2.2.9 2016-11-25
2.2.8 2016-10-14
2.2.7 2016-10-14
2.2.6 2016-10-12
2.2.5 2016-10-01
2.2.4 2016-10-01
2.2.3 2016-09-14
2.2.2 2016-09-09
2.2.1 2016-09-09
2.2.0 2016-09-07
2.1.0 2016-08-25
2.0.1 2016-06-05
2.0.0 2016-03-31
1.0.3 2016-01-24
1.0.2 2016-01-24
1.0.1 2016-01-24
1.0.0 2016-01-24