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.
After installing escoden into my project (with
npm install escodegen) I tried to build the browser version as instructed (npm installfollowed bynpm run-script build). However, this fails in the second step becausetools/entry-point.jsis 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.jsmanually.Ideally, I think the browser version would be included in the npm install which would avoid the need for any further steps.