-
Notifications
You must be signed in to change notification settings - Fork 4
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
Remove transform-runtime #7
Conversation
What's the error you're seeing and moreover, what's the dependency that isn't being included? I've been able to successfully run the tests on |
The tests are only run on src, but dist is broken
|
It probably only manifests when installing in things without a babel compile step, which is why it wasn't noticed earlier.
|
In addition to the steps I described, I also changed the test targets from the How are you yielding that error? Through the |
Yes, through immstruct (as it uses ES5 and no babel). I don't have The other solution is to |
The test suite won't pick it up (ever), as it's a dep thats in devDependencies and not dependencies, and not an implementation error 😕 |
That's unfortunate :( Happy with removing this dependency, at least for the time being. Will cut a new patch release in the next few minutes. |
#8 might be better, as the issue will also exist in immutable-cursor (ack) |
We should be OK just to remove |
Ok, sweet, I'll let you do that. Thanks! |
Cheers :) |
Atom-store is currently broken, as
transform-runtime
adds a dependency which is not included. I understand why you would have it, and considered making a PR with this dep, but it's fairly large, and the actual size difference without it is trivial (even ignoring that gzip will remove the size diff entirely):Compiled
atom.js
, withtransform-runtime
:var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2);
Without
transform-runtime
:var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };