For some reason that is beyond me, I can't debug less when twbs:boostrap
is installed in my meteor app. When I remove it, chrome debugging works as it should. When I add it back, the CSS is concatenated as in production mode and I can't access it from the browser. I've tried running in debug mode meteor debug
, and also tried reverting to other BS3 packages but it makes no difference. The .less
files build properly, but I can't debug.
出于某些原因,超出我的范围,我在twbs:boostrap安装在我的流星应用程序中时无法调试。当我删除它时,chrome调试工作正常。当我添加它时,CSS在生产模式下连接在一起,我无法从浏览器访问它。我试过在调试模式meteor调试中运行,并尝试恢复到其他BS3包,但它没有任何区别。 .less文件构建正常,但我无法调试。
Any ideas for a fix?
任何修复的想法?
Thanks, db
1 个解决方案
#1
0
The problem is caused by the .map
files in the twbs:bootstrap
package. My solution was to remove the official package, download the bootstrap files and add them manually to the client
dir, excluding the .map
files. Now I can debug properly.
问题是由twbs:bootstrap包中的.map文件引起的。我的解决方案是删除官方软件包,下载引导文件并手动将它们添加到客户端目录,不包括.map文件。现在我可以正常调试了。
#1
0
The problem is caused by the .map
files in the twbs:bootstrap
package. My solution was to remove the official package, download the bootstrap files and add them manually to the client
dir, excluding the .map
files. Now I can debug properly.
问题是由twbs:bootstrap包中的.map文件引起的。我的解决方案是删除官方软件包,下载引导文件并手动将它们添加到客户端目录,不包括.map文件。现在我可以正常调试了。