Because your target is ES2018, the ...state.present,
is preserved and the old parser (esprima which cli-bundler uses) did not understand.
3 Likes
Because your target is ES2018, the ...state.present,
is preserved and the old parser (esprima which cli-bundler uses) did not understand.