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

Doesn't work with Create React App's build script #142

@denkristoffer

Description

@denkristoffer

Hi 👋

At the moment, analytics-node doesn't work with Create React App, as the build script fails when trying to minify the ES6 code (https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify). I'd like to hear if you'd be willing to publish a pre-compiled version?

I understand that this is a node library and perhaps not meant to be used in the browser, but the analytics.js package on NPM is outdated, so please correct me if I'm wrong, but analytics-node seems like the only way to use Segment if you want to load it through a module.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions