rhy-chunkfilename-loader

use to rename the webpack's chunkfilename in import lib by async progress


License
MIT
Install
npm install rhy-chunkfilename-loader@0.1.1

Documentation

rhy-chunkfilename-loader

use to rename the webpack's chunkfilename in import lib by async progress

{
    test: /\.js$/,
    use: [{
            loader: 'rhy-chunkfilename-loader',
            options: {
                appPageRoot:path.join('src','pages')
            }
        }]
}
/* webpackChunkName: "asyncComponent" */ ===>/* webpackChunkName: "./[mutiplydirname]/static/components/asyncComponent" */