打包时候报错
ModuleDependencyWarning: Critical dependency: the request of a dependency is an expression
at Compilation.reportDependencyErrorsAndWarnings (/Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compilation.js:3137:23)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compilation.js:2729:28
at _next2 (eval at create (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:47:1)
at eval (eval at create (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:84:1)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:380:10
at /Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2830:7
at Object.each (/Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2850:39)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:356:17
at /Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2830:7
at Object.each (/Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2850:39)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:50:15
at Hook.eval [as callAsync] (eval at create (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:79:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/Hook.js:18:14)
at Compilation.finish (/Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compilation.js:2714:28)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compiler.js:1185:19
at processTicksAndRejections (node:internal/process/task_queues:78:11)
at CommonJsRequireContextDependency.getWarnings (/Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/dependencies/ContextDependency.js:102:18)
at Compilation.reportDependencyErrorsAndWarnings (/Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compilation.js:3132:24)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compilation.js:2729:28
at _next2 (eval at create (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:47:1)
at eval (eval at create (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:84:1)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:380:10
at /Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2830:7
at Object.each (/Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2850:39)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:356:17
at /Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2830:7
at Object.each (/Users/mcgee0731/boss-hi-desk/node_modules/neo-async/async.js:2850:39)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:50:15
at Hook.eval [as callAsync] (eval at create (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:79:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/mcgee0731/boss-hi-desk/node_modules/tapable/lib/Hook.js:18:14)
at Compilation.finish (/Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compilation.js:2714:28)
at /Users/mcgee0731/boss-hi-desk/node_modules/webpack/lib/Compiler.js:1185:19
at processTicksAndRejections (node:internal/process/task_queues:78:11),