Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

reactredux template error on publish Error in vendorjs from UglifyJs #715

@richardjharding

Description

@richardjharding

Just installed the templates using the latest tooling and created a new reactredux project

restore and build succeed but publish fails - it seems to be an error attempting to webpack the vendor chunk when in production mode

If I attempt to run the following at the cmd line
webpack.js --config webpack.config.vendor.js --env.prod

I get the following error

ERROR in vendor.js from UglifyJs SyntaxError: Unexpected token: name (b) [vendor.js:34464,5]

That line in vendor.js is

let b = new Big(0);

If I run webpack without the --env.prod switch it succeeds

I get a similar error with the react template

this looks to be an issue with outputing es6 that uglify doesn't understand?

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