Closed pfrend closed 5 years ago
Problem: Build issues with webpack when using older uglify-js that can't read es6 input
Version: 15.7
Code: https://github.com/facebook/prop-types/blob/master/factoryWithTypeCheckers.js#L310
Expected: Only es5 code exported
Example output of error:
ERROR in common.js from UglifyJs SyntaxError: Unexpected character '`' [./~/prop-types/factoryWithTypeCheckers.js:310,0]
Note: First issue in here - sorry if I'm missing some issue filing rules. Let me know if you need more info. Thanks!
Thanks, I’ll have a fix for this published shortly.
v15.7.1 published. Sorry for the inconvenience!
awesome, thanks for the quick response time, much appreciated!
Problem: Build issues with webpack when using older uglify-js that can't read es6 input
Version: 15.7
Code: https://github.com/facebook/prop-types/blob/master/factoryWithTypeCheckers.js#L310
Expected: Only es5 code exported
Example output of error:
Note: First issue in here - sorry if I'm missing some issue filing rules. Let me know if you need more info. Thanks!