1.0.1 • Published 3 years ago

create-file-plugin-webpack v1.0.1

Weekly downloads
192
License
MIT
Repository
github
Last release
3 years ago

create-file-plugin-webpack

License: MIT

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.