Skip to content

Failed to minify on build #8

@Mantis748

Description

@Mantis748

Bootstrapped a project in Visual Studio Code using create-react-app, then installed @brightcove/react-player-loader. The dependency works fine during development, but when building (npm run build at the terminal), the following message is received:

Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file:
./node_modules/@brightcove/react-player-loader/dist/brightcove-react-player-loader.es.js:251

Read more here: http://bit.ly/2tRViJ9

I'm new at JS dev, but from what I gather in the link above, this was published as an ES6 file and needs to be built and published as a transpiled version.

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