Closed mattcollier closed 7 years ago
I'm not sure I've had this exact problem. Maybe something similar that I hacked around? It's kind of hard to tell from that other issue and webpack docs if that flag should be true or false. If false fixes it, we can revisit later if something else breaks.
@davidlehn Perhaps I can jog your memory. The issue here is that if you symlink a front end dependency such as bedrock-angular-authn-password
and then attempt the optimize, the optimize fails due to error: https://gist.github.com/mattcollier/46ed05ea80d7f3da24edce0de8437a35
With this patch, the optimization is successful, and the symlinked module functions properly in minified mode.
Allows symlinked modules to be processed properly.
@davidlehn I know you're familiar with this issue, will you confirm this fix?
This solution came from: https://github.com/babel/babel-loader/issues/149#issuecomment-312622067