Skip to content

Scope? what encompasses transpiling? #53

Description

@flying-sheep

I think everything here's a bit apples and oranges.

I'm sure the minimal bundle is the following:

ES2015 with modules → ES 2015 rollup bundle (unwrapped, even an IIFE is additional code!) → ES2015 uglify (once uglify handles ES2015) → gzip (or do browsers support better compression nowadays?)

The result is evidently as small as possible, since dead code elimination/tree shaking takes place while no additional code is being created: no polyfills, no desugaring, no import/export syntax (rollup just concatenates everything in the right order)

Therefore I think you have to define an exact target here: what ES2015 features should remain unchanged? Which ones desugared or polyfilled?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions