-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Move OC.Plugins, OC.msg and OC.Notification to the server bundle #13938
Conversation
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.
Still works 👍
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.
Quick smoke tests did not do 💥
jsunit isn't happy |
Signed-off-by: Christoph Wurst <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
9385637
to
52d388f
Compare
The problem was that webpack hides exported functions behind es5 getters and sinon does not support them yet: sinonjs/sinon#1762. I use webpack/webpack#6979 (comment) as solution. It's not ideal as webpack can't do all optimizations but the current bundle did not grow in size. |
Yeah … I have to investigate.
is what I see a lot. But that variable is set via php and I assume we add a stub for tests somewhere. I don't get how this changed in this PR. |
I have to do this a bit differently. |
This does not reduce the number of requests but slims down the dreaded
js.js
and brings the code into a maintainable format.