shellscape / webpack-manifest-plugin

webpack plugin for generating asset manifests
MIT License
1.44k stars 184 forks source link

Is it possible to prevent the manifest from being written to disk? #86

Closed philipwalton closed 6 years ago

philipwalton commented 6 years ago

I'm managing the manifest in-memory and through my own module, so I'd like the option to not write it to disk in some cases.

I assumed that returning null or undefined from the reduce function or filtering out all the assets would prevent writing to disk, but that doesn't seem to happen.

Is this supported?

mastilver commented 6 years ago

if you are using memory-fs, it shouldn't write to disk

mastilver commented 6 years ago

I'm managing the manifest in-memory

I checked your boilerplate, to check how you are doing that. You might be interested by: https://github.com/danethurber/webpack-manifest-plugin/pull/76

Anyway, I don't think it's an option we want