I have an NPM library, calendar-dates built with RollUp.JS (“RollUp” hereafter).
[!] (commonjs plugin) SyntaxError: Unexpected token
I’ll show you what I did and how I fixed the error.
(I will assume that you are familiar with static class properties in ES6 and RollUp)