create-file-plugin-webpack

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i create-file-plugin-webpack

Weekly Downloads

1,214

Version

1.0.1

License

MIT

Unpacked Size

204 kB

Total Files

7

Last publish

Collaborators

  • pgomes