-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Version is not set when using via CommonJS. #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It should probably be I'll make an update. |
👍 |
Okay, just experimented w/ this. It's not as simple as just pointing to |
benvinegar
added a commit
that referenced
this issue
Jan 12, 2016
Fix version not available via CommonJS (fixes #459) ...
benvinegar
added a commit
that referenced
this issue
Jan 12, 2016
* package.json now points to dist/raven.js * dist/raven.js is built with derequire plugin (removes require statements) * derequire plugin added as dev dep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the correct way to load version
2.0.1
via CommonJS (or a bundler)?package.json
now points tosrc/singleton.js
, which results inRaven.VERSION
being set to__VERSION__
instead of2.0.1
. Is it expected that users will loaddist/raven.js
instead?The text was updated successfully, but these errors were encountered: