Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade rollup pipeline & fix minification
The closure compiler has been replaced by terser for the minification step, as closure does not handle correctly variables (or in this case constants) declared with the same name as some globals (in this case `document`). This is a valid error for scripts, but in ES modules this kind of redeclarations do not cause problems (at least for `document`). For details see: - ampproject/rollup-plugin-closure-compiler#92 - google/closure-compiler#3098 - google/closure-compiler#2471 Also terser is way faster than closure, and produces a slightly smaller minified script.
- Loading branch information