1.0.0 • Published 6 years ago

webpack-gf-json v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

#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;
}