1.0.4 • Published 1 year ago

file-move-webpack-plugin v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

file-move-webpack-plugin

A webpack plugin to move file,such as move sourcemap from outfile path to another path

Installation

npm install --save-dev file-move-webpack-plugin

Usage

const { FileMoveWebpackPlugin } = require('file-move-webpack-plugin')

const webpackConfig = {
  plugins: [
    new MoveFileWebpackPlugin({
      sourcePath: resolve("dist/static/js"),
      targetPath: resolve("dist/sourcemap"),
      filter: ".map",
    })
  ],
};
module.exports = webpackConfig;
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago