-
Notifications
You must be signed in to change notification settings - Fork 959
Closed
Description
The version of FlipClock that is on npm (the js-es6 branch) breaks when uglified.
Because FlipClock reads the names of functions, when run through Uglify it gives this error:
n cannot be rendered because it has no template which occurs in DomComponent.js because this.name is a function name generated by Uglify.
Npm modules should handle common build processes that change variable names, such as Uglify.
For those looking for a fix in the meantime, adding keep_classnames: true and keep_fnames: true to uglifyOptions worked for me.
mtr
Metadata
Metadata
Assignees
Labels
No labels