Skip to content

ES6 module support breaks for paths containing some chars (eg +) #2414

Closed
@alexeagle

Description

@alexeagle

Here's a smallish repro:
https://github.com/FrozenPandaz/closure-compiler-angular-bundling/tree/plus_directories

If one of the files in the compilation uses ES6 syntax and a + in the name, we get

built/+basic.js:1: ERROR - "module$built$+basic" is not a valid ECMASCRIPT6 qualif
ied name

this is a problem because the Angular style guide recommends using a + prefix on directories containing lazy routes.

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