create-file-plugin-webpack
v1.0.1
Published
Simple and useful plugin to create files during webpack build process
Downloads
3,208
Readme
create-file-plugin-webpack
Simple and useful plugin to create files during the webpack build process.
Installation
To install this plugin, just use;
$ npm install create-file-plugin-webpack
Or, if you're using yarn
:
$ yarn add create-file-plugin-webpack
Usage
const CreateFilePluginWebpack = require('create-file-plugin-webpack')
{
plugins: [
new CreateFilePluginWebpack(options)
]
}
Options
To use this plugin, there are 3 required options:
- content: The content to be saved in the file.
- filename: The name of the saved file.
- path: The path where the new file will be saved.