1.0.4 • Published 6 years ago

webpack-copy-on-build-plugin v1.0.4

Weekly downloads
9
License
MIT
Repository
github
Last release
6 years ago

webpack-copy-on-build-plugin

Webpack plugin that will copy/paste files after build.

Installation

npm install --save-dev webpack-copy-on-build-plugin

Usage

In config file:

var WebpackOnBuildPlugin = require('on-build-webpack');

// ...
  module: {
    plugins: [
      new WebpackCopyOnBuildPlugin([
         {
           from: config.output.path + '/app.[hash].js',
           to: config.output.path + '/app.js'
         },
         {
           from: config.output.path + '/app.[hash].js.map',
           to: config.output.path + '/app.js.map'
         }
        ])
    ]
  },
// ...
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago