Webpack构建时config模块出现Critical dependency等警告问题求助
搜索相关关键词可了解各警告详情。若需忽略特定警告,可在对应代码行的前一行添加// eslint-disable-next-line。
WARNING in ./node_modules/config/lib/config.js 590:15-36
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 38:10-26
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 53:9-26
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 57:7-25
require.extensions 不被 webpack 支持,请改用 loader。
WARNING in ./node_modules/config/parser.js 58:4-19
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 68:21-38
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 95:15-36
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 98:15-34
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 108:9-26
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 112:9-26
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 124:13-33
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 128:26-43
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 156:14-32
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 165:12-30
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 173:12-30
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 181:11-28
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 189:11-28
关键依赖:依赖请求为表达式
WARNING in ./node_modules/config/parser.js 202:14-34
关键依赖:依赖请求为表达式
内容的提问来源于stack exchange,提问作者Rihan Mohammed

