Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

fix: TypeError in production build when targeting ES2015 #377

Merged
merged 1 commit into from
Aug 28, 2018
Merged

fix: TypeError in production build when targeting ES2015 #377

merged 1 commit into from
Aug 28, 2018

Commits on Aug 6, 2018

  1. fix: don't let uglify-es inline functions with arguments

    Fixes #346.
    
    This is a workaround for a bug in uglifyjs2
    (mishoo/UglifyJS#2842), which can cause name
    collisions when a function with arguments is inlined. This can cause an
    unintended shadowing of a `var` or `let`, or a `TypeError: Assignment to
    constant variable` in case of a `const`.
    ppvg committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    aadae6a View commit details
    Browse the repository at this point in the history