Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

less 版本升级之后报错 Can't resolve ****

如题,最近想在项目实战一下 less 中比较高级的用法,
从 2.7.0 版本升级到了 3.9.0 版本,
然而不幸的事情发生了,
原本能正常运行的代码在 引入 的时候报错 Can't resolve **

说明:有很多代码不是我提交的,So,我能改的范围有限


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

原因找到了,哭笑不得 ...
less-loader 的版本太低,原来的 4.0.5 版本不够用了 ...
现在使用 5.0.0 版本的就 OK 了 ...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...