使用filename: dev ? '[name].js' : '[name].[chunkhash:8].js'
,in
webpack.config.js(在prod中),我收到了错误
ERROR in chunk manifest [entry]
[name][chunkhash:8].js
Cannot use [chunkhash] for chunk in '[name][chunkhash:8].js' (use [hash] instead)
我应该如何正确使用chunkhash?
https://gist.github.com/blaadje/23340f9bf466e10c8e33e3ef4f207e74 有关cfg的更多信息