Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Transpiling only modules import/export #477

Closed
@backspaces

Description

@backspaces

This is likely a documentation issue: I would like to configure es6-module-loader so that traceur or babel (<version 6.0, right?) is configured to only transpile modules (import/export). This relates to #463 and #465

This is due to Canary being 96% es6 complete, needing no transpilation, and I would like to standard my use of modules to the <script type="module"> style due to its being the likely first native module loading by browsers.

I've tried turning off all the obvious traceur options, below, but it failed. Is there any way I can set up the traceur or babel options to be modules-only?

System.traceurOptions = { arrowFunctions: false, blockBinding: false, classes: false, computedPropertyNames: false, defaultParameters: false, destructuring: false, forOf: false, generators: false, numericLiterals: false, propertyMethods: false, propertyNameShorthand: false, restParameters: false, spread: false, symbols: false, templateLiterals: false, unicodeEscapeSequences: false, unicodeExpressions: false }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions