-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Serve sockjs.js from sockjs-client dependency, don't use default from CDN #493
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
Conversation
@sokra, could we get some movement on this? This issue makes the hotloader unusable. |
I don't exactly get why this should be in a separate bundle. |
@SpaceK33z I'm not sure if this is still the case but, at the time this pull request and issue #474 were opened, |
@@ -52,7 +52,10 @@ | |||
"ssl/" | |||
], | |||
"scripts": { | |||
"prepublish": "webpack ./client/live.js client/live.bundle.js --color --config client/webpack.config.js -p && webpack ./client/index.js client/index.bundle.js --color --config client/webpack.config.js -p", | |||
"prepublish": "npm run webpack-live && npm run webpack-index && npm run webpack-sockjs", | |||
"webpack-live": "webpack ./client/live.js client/live.bundle.js --color --config client/webpack.config.js -p", |
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.
Can you change webpack-
to client-
here (and the other scripts)? webpack
doesn't tell me anything in this case.
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 comments in code above. If you update that, and fix the merge conflicts, I'll merge this in :).
590bbb2
to
9f1210e
Compare
Thanks! |
Fixes #474 "Incompatibile SockJS" (appears when using iframe mode)