[英]Angular 9 Warning typescript.js
After start application, i have warning启动应用程序后,我有警告
WARNING in ./node_modules/typescript/lib/typescript.js 5123:41-60
Critical dependency: the request of a dependency is an expression
Try altering webpack.dev.config.js.尝试更改 webpack.dev.config.js。
new webpack.ContextReplacementPlugin(
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
path.resolve(__dirname, 'doesnotexist/')
)
or minimally,或最低限度,
new webpack.ContextReplacementPlugin( /(.+)?angular(\\|\/)core(.+)?/, root('./src'), {} )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.