0.1.1 • Published 5 years ago

rhy-chunkfilename-loader v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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" */