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

6.0.0 • 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 {
  includestring | RegExp | (string | RegExp)[]
  excludestring | 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.
  exposeFilenameboolean
 
  // 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
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.0.019,653latest
6.0.0-beta.102,985next

Version History

VersionDownloads (Last 7 Days)Published
6.0.019,653
6.0.0-beta.111,035
6.0.0-beta.102,985
6.0.0-beta.920
6.0.0-beta.82
6.0.0-beta.72
6.0.0-beta.611
6.0.0-beta.56
6.0.0-beta.40
6.0.0-beta.39
6.0.0-beta.20
5.1.911,145
5.1.81
6.0.0-beta.118
5.1.7459
6.0.0-alpha.1011
6.0.0-alpha.90
6.0.0-alpha.82
6.0.0-alpha.70
6.0.0-alpha.60
6.0.0-alpha.50
6.0.0-alpha.40
6.0.0-alpha.30
6.0.0-alpha.20
6.0.0-alpha.10
6.0.0-alpha.00
5.1.61,599
5.1.510
5.1.41,130
5.1.30
5.1.269
5.1.1104
5.1.046
5.0.133
5.0.0820
4.7.2295
4.7.134
4.7.01
4.6.26
4.6.18
4.6.00
4.5.00
4.4.01
4.4.0-alpha.00
4.3.2398
4.3.131
4.3.023
4.2.0345
4.1.511
4.1.4289
4.1.30
4.0.21
4.0.10
4.0.00
4.0.0-alpha.10
3.0.071
2.5.4134
2.5.30
2.5.24
2.5.10
2.5.02
2.4.20
2.4.10
2.4.00
2.3.10
2.3.00
2.3.0-beta.51
2.3.0-beta.40
2.2.210
2.3.0-beta.30
2.2.200
2.3.0-beta.20
2.3.0-beta.10
2.2.190
2.2.180
2.2.170
2.2.160
2.2.150
2.2.140
2.2.130
2.2.110
2.2.101
2.2.92
2.2.80
2.2.70
2.2.60
2.2.50
2.2.41
2.2.30
2.2.20
2.2.110
2.2.00
2.1.00
2.0.10
2.0.00
1.0.21
1.0.10
1.0.00

Package Sidebar

Install

npm i rollup-plugin-vue

Weekly Downloads

36,919

Version

6.0.0

License

MIT

Unpacked Size

39.3 kB

Total Files

36

Last publish

Collaborators

  • yyx990803
  • znck