fs-copy-webpack-plugin

0.0.2 • Public • Published

fs-copy-webpack-plugin

Install

npm i fs-copy-webpack-plugin --save-dev

# or

yarn add fs-copy-webpack-plugin --dev

How to use

// webpack.config
module.exports = {
  plugin: [
    new FsCopyWebpackPlugin({
      root: __dirname,
      src: 'src',
      dist: 'dist',
      files: {
        'a.png': 'b.png'
      }
    })
  ]
}

./src/a.png will cope to ./dist/b.png

Readme

Keywords

none

Package Sidebar

Install

npm i fs-copy-webpack-plugin

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

2.71 kB

Total Files

4

Last publish

Collaborators

  • yyued