引入工具库服务会报两个依赖警告
warning in ./~/@eife/utils/debounce/index.js
1:261-262 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
warning in ./~/@eife/utils/debounce/index.js
1:290-294 Critical dependency: the request of a dependency is an expression
解决
在Webpack的module中配置如下:
//解决Critical dependency: require function is used in a way in which dependencies cannot be statically extracted的问题
unknownContextCritical : false,
//解决the request of a dependency is an expression
exprContextCritical: false,
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。