copy-modify-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

copy-replace-string-webpack-plugins

Plug-in to copy and modify file content

install

yarn add copy-modify-webpack-plugin or npm install copy-modify-webpack-plugin

how to use

const CopyModifyWebpackPlugins = require('copy-modify-webpack-plugins');

new CopyModifyWebpackPlugins({
	entry: './index.js',
	output: `./dir/index.js`,
	callback: content => content.replace('searchValue', 'replacer')
})

Readme

Keywords

none

Package Sidebar

Install

npm i copy-modify-webpack-plugin

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

5.53 kB

Total Files

12

Last publish

Collaborators

  • linhan