No! Primate Mutation!

    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
    }

    Keywords

    none

    Install

    npm i rollup-plugin-vue

    DownloadsWeekly Downloads

    41,057

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    39.3 kB

    Total Files

    36

    Last publish

    Collaborators

    • yyx990803
    • znck