Skip to content

Webpack 1 / rc 8-1 "Uncaught SyntaxError: Unexpected token import" #1176

@ghost

Description

[x] BUG (?)

What is the expected behavior?

Material2 should work with webpack1 like angular2 rc6 does.

What is the current behavior?

Error "Uncaught SyntaxError: Unexpected token import"

What are the steps to reproduce?

Any solution with angular2 rc6 / material alpha 8-1; bundles with webpack.

I'm just an amateur, but as far as I see angular2 exports umd modules by default and material should (does?!) aswell. The error comes from every material-component indicating that modules picked up by webpack are in es2015 format ... or am I missing something?

Which versions of Angular, Material, OS, browsers are affected?

angular2 rc6 / material 2 alpha 8-1 / win10 / typescript 2.0 beta

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