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
}

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-vue

Weekly Downloads

45,747

Version

6.0.0

License

MIT

Unpacked Size

39.3 kB

Total Files

36

Last publish

Collaborators

  • yyx990803
  • znck
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy