escodegen icon indicating copy to clipboard operation
escodegen copied to clipboard

fix global escodegen reference in entrypoint.js

Open crsmithdev opened this issue 9 years ago • 1 comments

See https://github.com/estools/escodegen/issues/244.

Attempting to use the release-built escodegen.browser.js fails on import because escodegen in entry-point.js is not defined.

Alternatively, it may be better to eliminate entry-point.js entirely, as since it isn't part of the NPM version, it is impossible to run npm run-script build unless cloning from source.

crsmithdev avatar Jun 08 '16 09:06 crsmithdev

I don't understand. If global is actually a reference to your global object, that escodegen reference shouldn't cause a ReferenceError.

michaelficarra avatar Jan 31 '18 08:01 michaelficarra