bundle-loader
bundle-loader copied to clipboard
Can I get a map from module name to target file
require('bundle!./' + moduleName)
Webpack would generate files per chunk.
How can i get the relationship between asset file and module name
some thing like 'head' -> '17.17-a8a9d7162044e4556872.js'
@liuyuekeng Please provide more info about your setup/usecase (webpack.config.js)
@liuyuekeng Normally you get that mapping in your main webpack bundle, but you can extract it using e.g. chunk-manifest-webpack-plugin