Skip to content

Unexpected token: name (...) from UglifyJs #11

@manspeterson

Description

@manspeterson

When installing this plugin on a preact-cli with default template all builds fail with the same errors. tested on several setups.

✖ ERROR route-profile.chunk.ed753.js from UglifyJs
Unexpected token: name (Profile) [./routes/profile/index.js:4,21][route-profile.chunk.ed753.js:17,4]
✖ ERROR route-home.chunk.e69f2.js from UglifyJs
Unexpected token: name (Home) [./routes/home/index.js:7,21][route-home.chunk.e69f2.js:36,4]
✖ ERROR bundle.090e2.js from UglifyJs
Unexpected token: name (done) [../node_modules/preact-cli/lib/components/async.js:8,6][bundle.090e2.js:555,6]
Build failed!

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