jiangts / JS-OTP

100% Javascript Implementation of HOTP and TOTP for Two-Factor Authentication.
https://jiangts.github.io/JS-OTP
MIT License
256 stars 70 forks source link

Current build process generates .js files in es6 but uglifyjs version used doesn't understand es6 #9

Closed runerune-sgt closed 6 years ago

runerune-sgt commented 6 years ago
>> Uglifying source dist/jsOTP.js failed.
Warning: Uglification failed.
Unexpected token: name (Totp).
Line 4 in dist/jsOTP.js

Line 4 is:

Totp = class Totp