Skip to content

Commit 5f3fb89

Browse files
GeoffreyBoothAkryum
authored andcommitted
fix: vue-component-dev-client in IE (#359)
* I bet I know how this happened * Use the transpiled version of socket.io client, so that it's compatible with non-evergreen browsers * Bump version * Revert "Bump version" This reverts commit 1c17cf8.
1 parent 14c7e8e commit 5f3fb89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vue-component-dev-client/client/dev-client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ Meteor.startup(function () {
9999

100100
console.log('%cHMR%c Dev server URL: %c' + devUrl, tagStyle, '', 'font-weight: bold;')
101101

102-
console.log(`%cIf you have issues connecting to the dev server, set the 'HMR_URL' env letiable to the URL of the dev server displayed in the meteor console.`, infoStyle)
102+
console.log(`%cIf you have issues connecting to the dev server, set the 'HMR_URL' env variable to the URL of the dev server displayed in the meteor console.`, infoStyle)
103103

104104
// NOTE: Socket lib don't allow mix HTTP and HTTPS servers URLs on client!
105-
const _socket = require('socket.io-client')(devUrl)
105+
const _socket = require('socket.io-client/dist/socket.io.dev.js')(devUrl)
106106
window.__dev_client__ = _socket
107107

108108
_socket.on('connect', function () {

0 commit comments

Comments
 (0)