You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
babelrc node target 7 is too high and this causes the UglifyJS plugin in my webpack production config to fail as it can't parse the syntax in lib/index.js during my webpack -p --config webpack.prod.config.js to fail.
This is due to class syntax, default params and pick.js line 2 [prop] punctuation all not being transpiled correctly in manage-state.
babelrc node target 7 is too high and this causes the UglifyJS plugin in my webpack production config to fail as it can't parse the syntax in lib/index.js during my
webpack -p --config webpack.prod.config.js
to fail.This is due to class syntax, default params and
pick.js
line 2[prop]
punctuation all not being transpiled correctly in manage-state.There are a few possible workarounds:
Both of these .babelrc configs work.
Solution 1:
Solution 2
The text was updated successfully, but these errors were encountered: