Skip to content

Commit dbe7300

Browse files
authored
fix: delete Node.js variables in windows (#2971)
1 parent ae2de02 commit dbe7300

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

client-src/default/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
'use strict';
22

3-
// webpack@5 doesn't inject node polyfill automatically
4-
window.global = window.global || window;
5-
window.process = window.process || {};
6-
window.process.env = window.process.env || {};
7-
83
/* global __resourceQuery WorkerGlobalScope self */
94
const stripAnsi = require('../transpiled-modules/strip-ansi');
105
const socket = require('./socket');

0 commit comments

Comments
 (0)