1.0.0 • Published 4 years ago

cp-webpack-plugin v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

cp-webpack-plugin

cp-webpack-plugin

Getting started

  • make sure node and npm installed;

Install

> npm install cp-webpack-plugin --save

Usage

webpack.config.js
//webpack.config.js
var path = require('path');
var CpWebpackPlugin = require('cp-webpack-plugin');

module.exports = {
  ...
  plugins: [
    new CpWebpackPlugin([
      from: path.resolve('./static'),
      to: path.resolve('./dist'),
    ])
  ]
  ...
}