Skip to content

Commit

Permalink
Force resolution of xmlhttprequest-ssl to engien.io-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiam committed Aug 6, 2022
1 parent d83fbf3 commit 2a6d2ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export default defineConfig(({ command, mode }) => {
resolve: {
alias: {
vue: 'vue/dist/vue.esm-bundler',
'xmlhttprequest-ssl':
'./node_modules/engine.io-client/lib/xmlhttprequest.js',
'@': fileURLToPath(new URL('./src', import.meta.url)),
adapter: fileURLToPath(
new URL('./src/services/adapter/web.js', import.meta.url)
Expand Down

0 comments on commit 2a6d2ae

Please sign in to comment.