Skip to content

Commit 436a1eb

Browse files
committed
[Feat/socket] sockJS 설정들 삭제
- npm uninstall —save-dev @types/sockjs-client - vite.config.ts > define: { global: {} } 설정 삭제 - vite.config.ts > alias에 eventsource, events, crypto 설정 삭제 - proxy 설정 삭제 (http-proxy-middleware 및 setupProxy.js 파일 삭제)
1 parent fd645b3 commit 436a1eb

File tree

4 files changed

+0
-156
lines changed

4 files changed

+0
-156
lines changed

package-lock.json

-136
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
"devDependencies": {
3232
"@types/react": "^17.0.33",
3333
"@types/react-dom": "^17.0.10",
34-
"@types/sockjs-client": "^1.5.1",
3534
"@types/styled-components": "^5.1.26",
3635
"@vitejs/plugin-react": "^1.0.7",
37-
"http-proxy-middleware": "^2.0.6",
3836
"prettier": "^2.5.1",
3937
"prettier-plugin-tailwindcss": "^0.1.5",
4038
"tailwind-styled-components": "^2.2.0",

src/setupProxy.js

-10
This file was deleted.

vite.config.ts

-8
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,5 @@ export default defineConfig({
77
plugins: [react()],
88
alias: {
99
"@": path.resolve(__dirname, "src"),
10-
eventsource:
11-
"./node_modules/sockjs-client/lib/transport/browser/eventsource.js",
12-
events: "./node_modules/sockjs-client/lib/event/emitter.js",
13-
crypto: "./node_modules/sockjs-client/lib/utils/browser-crypto.js",
14-
},
15-
16-
define: {
17-
global: {},
1810
},
1911
});

0 commit comments

Comments
 (0)