rollup-plugin-vue

  • Version 6.0.0
  • Published
  • 39.3 kB
  • 3 dependencies
  • MIT license

Install

npm i rollup-plugin-vue
yarn add rollup-plugin-vue
pnpm add rollup-plugin-vue

Overview

> Roll Vue 3 SFCs with Rollup.

Index

Functions

function PluginVue

PluginVue: (userOptions?: Partial<Options>) => Plugin;

    Interfaces

    interface Options

    interface Options {}

      property compiler

      compiler?: SFCTemplateCompileOptions['compiler'];

        property compilerOptions

        compilerOptions?: SFCTemplateCompileOptions['compilerOptions'];

          property cssModulesOptions

          cssModulesOptions?: SFCAsyncStyleCompileOptions['modulesOptions'];

            property customBlocks

            customBlocks?: string[];

              property exclude

              exclude: string | RegExp | (string | RegExp)[];

                property exposeFilename

                exposeFilename: boolean;

                  property include

                  include: string | RegExp | (string | RegExp)[];

                    property postcssOptions

                    postcssOptions?: SFCAsyncStyleCompileOptions['postcssOptions'];

                      property postcssPlugins

                      postcssPlugins?: SFCAsyncStyleCompileOptions['postcssPlugins'];

                        property preprocessCustomRequire

                        preprocessCustomRequire?: SFCAsyncStyleCompileOptions['preprocessCustomRequire'];

                          property preprocessOptions

                          preprocessOptions?: SFCAsyncStyleCompileOptions['preprocessOptions'];

                            property preprocessStyles

                            preprocessStyles?: boolean;

                              property target

                              target: 'node' | 'browser';

                                property templatePreprocessOptions

                                templatePreprocessOptions?: Record<
                                string,
                                SFCTemplateCompileOptions['preprocessOptions']
                                >;

                                  property transformAssetUrls

                                  transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'];

                                    Package Files (1)

                                    Dependencies (3)

                                    Dev Dependencies (15)

                                    Peer Dependencies (1)

                                    Badge

                                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rollup-plugin-vue.

                                    • Markdown
                                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rollup-plugin-vue)
                                    • HTML
                                      <a href="https://www.jsdocs.io/package/rollup-plugin-vue"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>