-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upgrade to Babel 7 #3275
Upgrade to Babel 7 #3275
Conversation
* master: (1368 commits) restart count starts at 0 not 1 retry task assignment on transaction serialization failure enable admins to edit dataset default configurations (#2462) properly run slick transactions run task assignment without sql view add script to run refresh_schema on a dev-branch deployment (#2478) annotations are initialized atomically (deleted on failure) Shows error message of invalid datasource in import screen (#2479) WIP: initialize annotation in task assignment fix sql query to reset tasks to base (#2481) added PR feedback changed lastname of testing-db users updated snapshots added organization to DatasetUploadView write organization to User json WIP: upload dataset needs to send organization now instead of team fixed dataset search make it easier to select nodes when particleSize is small (#2474) Update README.md fix task from file (id is string, not bsonId) ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool stuff! Did you check whether the bundle size changed noticably?
.babelrc
Outdated
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties", | ||
// Currently broken (as of 1.9.1) - does not rename the import (_select) in a line like `const { Option } = Select;` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an issue we can track? This will blow up the bundle size a bit, since there won't be any tree shaking for antd, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find an issue in the babel-plugin-import repo. I've tried to repro on codesandbox, but the plugin doesn't seem to be applied there (https://codesandbox.io/s/8k17q911y2), didn't find out why yet. Nevertheless, this will only affect the tests, so I think there wasn't even any tree shaking to begin with.
context.cube = cube; | ||
context.pullQueue = pullQueue; | ||
context.pushQueue = pushQueue; | ||
t.context = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, nice, nice :)
documentationjs upgraded to babel v7 some days ago, so now we can also switch to babel v7 :)
Babel v7 Perks:
/*#__PURE__*/
/cc: @hotzenklotz
URL of deployed dev instance (used for testing):
Steps to test:
Issues: