应用程序启动后,我收到了一个警告
WARNING in ./node_modules/typescript/lib/typescript.js 5123:41-60
Critical dependency: the request of a dependency is an expression
应用程序启动后,我收到了一个警告
WARNING in ./node_modules/typescript/lib/typescript.js 5123:41-60
Critical dependency: the request of a dependency is an expression
尝试修改webpack.dev.config.js文件。
new webpack.ContextReplacementPlugin(
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
path.resolve(__dirname, 'doesnotexist/')
)
new webpack.ContextReplacementPlugin( /(.+)?angular(\\|\/)core(.+)?/, root('./src'), {} )
"preserveSymlinks": true
- Mebin Joe