mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
webpack: Fix module warning when building (#3076)
Warning: ``` WARNING in ./src/client/Client.js Module not found: Error: Can't resolve 'worker_threads' in 'D:\Repositories\discordjs\discord.js\src\client' @ ./src/client/Client.js @ ./src/index.js ```
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
"node-opus": false,
|
||||
"tweetnacl": false,
|
||||
"sodium": false,
|
||||
"worker_threads": false,
|
||||
"zlib-sync": false,
|
||||
"src/sharding/Shard.js": false,
|
||||
"src/sharding/ShardClientUtil.js": false,
|
||||
|
||||
Reference in New Issue
Block a user