-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Cocos Creator version
3.8.5
System information
windows node版本v16.20.2
Issue description
这个webpack配置是哪里有问题吗
Relevant error log output
[Assets] (node:39836) [DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS] DeprecationWarning: The externals-function should be defined like ({context, request}, cb) => { ... }
(Use node --trace-deprecation ...
to show where the warning was created)
Warn: [Assets] (node:39836) [DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS] DeprecationWarning: The externals-function should be defined like ({context, request}, cb) => { ... }
(Use node --trace-deprecation ...
to show where the warning was created)
at console.warn (D:\CocosCreator\cocos\editors\Creator\3.8.5\resources\app.asar\node_modules@sentry\src\instrument\console.ts:40:20)
at NewConsole.warn (D:\CocosCreator\cocos\editors\Creator\3.8.5\resources\app.asar\builtin\asset-db\dist\worker\console.ccc:1:1510)
at NewConsole.warn (D:\CocosCreator\cocos\editors\Creator\3.8.5\resources\app.asar\builtin\builder\dist\worker\console.ccc:1:2337)
at Socket. (D:\CocosCreator\cocos\editors\Creator\3.8.5\resources\app.asar\builtin\builder\dist\worker\worker-pools\sub-process-manager.ccc:1:4192)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Socket.Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
Steps to reproduce
构建的问题
Minimal reproduction project
No response