Coder Social home page Coder Social logo

hasinhayder / rollup-plugin-vue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vuejs/rollup-plugin-vue

2.0 2.0 0.0 15.72 MB

Roll .vue files

Home Page: https://vuejs.github.io/rollup-plugin-vue

License: MIT License

JavaScript 2.55% TypeScript 97.45%

rollup-plugin-vue's Introduction

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
}

rollup-plugin-vue's People

Contributors

yyx990803 avatar znck avatar przemkow avatar dependabot[bot] avatar elevatebart avatar pioug avatar neryams avatar meteorlxy avatar nerixyz avatar underfin avatar

Stargazers

Roman avatar Mamunur Rashid avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.