Skip to content

Cannot build browser version from npm install #244

@chrislong

Description

@chrislong

After installing escoden into my project (with npm install escodegen) I tried to build the browser version as instructed (npm install followed by npm run-script build). However, this fails in the second step because tools/entry-point.js is not part of the installation.

I was able to work around it (I think) by running ./node_modules/.bin/cjsify -a path: escodegen.js > escodegen.browser.js manually.

Ideally, I think the browser version would be included in the npm install which would avoid the need for any further steps.

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