Only set writeToDisk for the webpack-dev-server (#2743)
Only set writeToDisk for the webpack-dev-server (#2743)

Otherwise the manifest.json is written twice for every compilation.

See https://github.com/webdeveric/webpack-assets-manifest/issues/89
for more details.
rails/webpacker,rails/webpacker