Meteor less源地图无法加载到客户端

时间:2014-06-06 11:27:15

标签: node.js meteor less source-maps

我尝试在我的项目中使用更少的源地图,但它们似乎没有传递给客户端。

> meteor --version
> Release 0.8.1.3

> lessc --version
> lessc 1.7.0 (LESS Compiler) [JavaScript]

> less .meteor/packages |grep less
> less

> ls .meteor/local/build/programs/client
> -rw-r--r--   1 mhhf staff 342679 Jun  6 13:05 473be00fc614aeff1b93b555c76b905fcc71e56b.css
> -rw-r--r--   1 mhhf staff 463306 Jun  6 13:05 473be00fc614aeff1b93b555c76b905fcc71e56b.css.map

> less .meteor/local/build/programs/client/program.json
> ...
> {
  "path": "473be00fc614aeff1b93b555c76b905fcc71e56b.css",
  "where": "client",
  "type": "css",
  "cacheable": true,
  "url": "/473be00fc614aeff1b93b555c76b905fcc71e56b.css",
  "sourceMap": "473be00fc614aeff1b93b555c76b905fcc71e56b.css.map",
  "sourceMapUrl": "/473be00fc614aeff1b93b555c76b905fcc71e56b.map",
  "size": 342679,
  "hash": "2aabe450770c6a0872fa79545aaf3f06523197d8"
},
> ...

但不知何故.css文件已成功加载而.css.map没有加载。 我应该在哪里寻找错误?

0 个答案:

没有答案