Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRA 3 opts-in to a new webpack 5 feature early to save memory: `futureEmitAssets` facebook#6696 This optimization only stores the file sizes during webpack compilation, no longer storing the original source webpack/webpack#8642 This is incompatible with our webpack-dev-server customization setting of `writeToDisk` webpack/webpack#8642 (comment) which tries to read the source after emit, which throws an exception, but that error is swallowed and the `npm start` just hangs. Before we update to webpack 5, where this feature will be the default, we need to stop writing to disk, or find another way to do it than the `writeToDisk` flag.
- Loading branch information
46c8d94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joeycozza @tylergraf
We will need to stop writing to disk or find a new way to write to disk before we move to webpack 5
46c8d94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻