Skip to content

stubModules vs. excludeStart/excludeEnd Pragmas #19

@ryanfitzer

Description

@ryanfitzer

Regarding r.js optimization, what are the benefits of using the pragmas approach in the es6 plugin over just adding it and babel to the stubModules array in the build config? If the modules that use the es6 plugin are being transformed during the build step, the plugin can just be stubbed. Are there other scenarios that pragmas enable?

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