-
Notifications
You must be signed in to change notification settings - Fork 63
Fix "exports is not defined" error #902
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
Fix "exports is not defined" error #902
Conversation
|
/compile amend / |
Adjust webpack config to accomodate for the updates or @babel/preset-env Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
5149738 to
7552bbc
Compare
MorrisJobke
left a comment
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.
🐘
|
Seems to work and we do the same in talk, but I'd still like confirmation by another JS expert |
|
/compile amend / |
01426a5 to
b86c718
Compare
|
CI is green. I've also retested this PR's state after checking it out again and it works. @skjnldsv are you ok with the babelrc changes ? |
|
Merge with |
b86c718 to
5c183ac
Compare
nickvergessen
left a comment
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.
see above
|
done. merged the configs, tested then squashed |
|
I did run |
|
/compile amend / |
Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
5c183ac to
ac70fa9
Compare
|
I wonder if we could have a global babel config too. |
I wonder too, but won't be delivered today. |
Let me test |
Adjust webpack config to accomodate for the updates of @babel/preset-env from #899
Fixes nextcloud/server#26314
Inspired by a similar issue we had on the talk repo: nextcloud/spreed@5673db9#diff-3e31f6f375484b2dfd4629faed9e5183ac6568ebdbc67ec752e10c41a35250c6R72