Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

build script error from Uglify - Unexpected token: keyword (const) #73

Description

@billy-reilly

running npm run build was throwing the following error:

ERROR in bundle.js from UglifyJs
Unexpected token: keyword (const) [bundle.js:6,144411]

I fixed it as described in this stackoverflow answer by replacing uglify with the terser webpack plugin

I'd be happy to put in a PR so others don't run into this issue if you'd like?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions