0
BannerPluginを使用した回答hereは、bundle.jsとcssファイルで動作しますが、私もコメントしたいと思っているソースマップがあります。webpackですべてのソースマップにコメントを追加する
BannerPluginをsource-map-loaderに含める方法はありますか?
module.exports = {
...
devtool: "source-map",
module: {
preLoaders: [
{ test: /\.js$/, loader: "source-map-loader" }
]
},
...
}