Skip to content

Adding NPM dependencies appears to break client scripts in productionΒ #18

@sohara

Description

@sohara

Hi there,

I have run into an issue where it appears that importing anything from an npm package in a client script breaks the client script (it doesn't run on the page) in production. It works fine in development.

I have a repro case here: master...sohara:test-npm-dependencies
(console logging works if you comment out the import)

Any ideas on why this is not working?

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