我的输出文件名包括id和chunkhash,那么如何在SourceMapDevToolPlugin中定位这些输入模块之一?这是我的配置:
entry: {
app: './src/main'
},
output: {
filename: '[id].[chunkhash].js',
},
plugins: [
new webpack.SourceMapDevToolPlugin({
filename: '[id].[chunkhash].js.map',
include: ['app'] // I want to include this entry but [name] isn't in the filename.
})
]