Failed to parse source map: 'webpack://...style/index.less' URL is not supported
来源:6-8 清除前面课程留下的警告信息

慕移动148488
2022-09-27
环境依赖:
“react-scripts”: “5.0.1”,
“typescript”: “^4.8.2”
问题描述:
Failed to parse source map: ‘webpack://antd/./components/config-provider/style/index.less’ URL is not supported
Failed to parse source map: ‘webpack://antd/./components/icon/style/index.less’ URL is not supported
Failed to parse source map: ‘webpack://antd/./components/locale-provider/style/index.less’ URL is not suppor
Failed to parse source map: ‘webpack://antd/./components/time-picker/style/index.less’ URL is not supported
写回答
1回答
-
慕侠9224627
2022-10-11
在.env. 中添加GENERATE_SOURCEMAP=false
30
相似问题