启动应用程序后,出现警告
WARNING in ./node_modules/typescript/lib/typescript.js 5123:41-60
Critical dependency: the request of a dependency is an expression发布于 2020-02-13 17:43:41
尝试更改webpack.dev.config.js。
new webpack.ContextReplacementPlugin(
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
path.resolve(__dirname, 'doesnotexist/')
)或者至少,
new webpack.ContextReplacementPlugin( /(.+)?angular(\\|\/)core(.+)?/, root('./src'), {} )https://stackoverflow.com/questions/60204493
复制相似问题