webpack-gf-json

1.0.0 • Public • Published

describe

A webpack-plugin to generate a json file contain compiled files's name,distinguished different types of file

how to use

npm install webpack-gf-json --save-dev

add to webpack.config.js

    const WebpackGfJson = require('webpack-gf-json');
    const webpackConfig = {
        plugins: [
            new WebpackGfJson({
                filename:'file1.json'
            })
        ]
        // other webpack config ...
    }
 

config

{
    filename:"out file's name" //the out json file's name. "file.json" is what is default;
}
 

Readme

Keywords

Package Sidebar

Install

npm i webpack-gf-json

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.06 kB

Total Files

3

Last publish

Collaborators

  • lcddjm