Closed Snaptags closed 5 years ago
Version 2.5.0 does not work in my typescript/webpack project. Version 2.4.0 did not have this issue:
ERROR in vendors~Events.bundle.js from UglifyJs Unexpected token: keyword «const» [./node_modules/react-vertical-timeline-component/dist-es6/VerticalTimeline.js:16,0][vendors~Events.bundle.js:71,0] ERROR in vendors~Events.bundle.js from UglifyJs Unexpected token: keyword «const» [vendors~Events.bundle.js:71,0] `̀ `
Never mind. I just replaced UglifyJS by https://github.com/webpack-contrib/terser-webpack-plugin
Version 2.5.0 does not work in my typescript/webpack project. Version 2.4.0 did not have this issue: