rollup / rollup-starter-lib

Bare-bones example of how to create a library using Rollup
MIT License
961 stars 230 forks source link

how to config es2015 in this project #55

Closed zhangwei900808 closed 4 years ago

zhangwei900808 commented 4 years ago

I used ()=>{} is not work it's tips me

[!] (plugin uglify) Error: Unexpected token: punc «)»
SyntaxError: Unexpected token: punc «)»
eventualbuddha commented 4 years ago

Perhaps use terser instead of uglifyjs?