rollup-plugin-emit-files
Emit files to rollup bundle
Last updated 11 days ago by juliendargelos .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rollup-plugin-emit-files 
SYNC missed versions from official npm registry.

rollup-plugin-emit-files

This plugin allows you to emit files to rollup bundle.

Install

yarn add rollup-plugin-emit-files --dev

or

npm install rollup-plugin-emit-files -D

Usage

// rollup.config.js

import emitFiles from 'rollup-plugin-emit-files'

export default {
  // ...
  plugins: [
    emitFiles({ src: 'static' })
  ]
}

Options

{
  src: string
  dest?: string
  include?: string | string[]
  exclude?: string | string[]
}

src

Source directory to find files from.

Required

dest

Relative path from bundle location where to output files.

Default: '.'

include

Glob or array of globs defining which files to include.

Default: '**/*'

exclude

Glob or array of globs defining which files to exclude.

Default: []

Current Tags

  • 1.1.0                                ...           latest (11 days ago)

2 Versions

  • 1.1.0                                ...           11 days ago
  • 1.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 9
Last Month 13
Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |