Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Fixed empty file written to outputPath #235

Merged
merged 3 commits into from
Aug 17, 2018

Conversation

qkdreyer
Copy link
Contributor

@qkdreyer qkdreyer commented Aug 17, 2018

I'm not sure how this would have been correctly be working before, but compilerFS is https://github.com/webpack/webpack/blob/master/lib/node/NodeOutputFileSystem.js, and it's method writeFile is a binding to fs.writeFile, which is async.

We have to wait the compilerFS.writeFile callback to be called before resolving the promise.
Please merge this ASAP since it might fix #230

@JoshTheDerf
Copy link
Collaborator

@qkdreyer Released in v3.4.0. My apologies for the delay.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Home page appears blank when rendering
2 participants