fex-team / fis3-packager-map

A packager plugin for fis to pack resources.
BSD 2-Clause "Simplified" License
7 stars 7 forks source link

Index.js changes: originally the merged file from several sources is … #12

Closed johnx7271 closed 8 years ago

johnx7271 commented 8 years ago

Index.js changes: originally the merged file from several sources is in format: [file\n//#file map data\n],

now changed to [file\n]* mapdata of merged file.

Package.json: added sourcemap to dependence.

Note: since working in Windows, so the spaces is replaced by tab.

2betop commented 8 years ago

感谢添加 sourcemap 功能,不过待我找个 sample 跑一下。

不过话说 tab 和 windows 有关系吗?我们这边遵守的规范是用是空格代替 tab 符,所以麻烦调整下格式。

johnx7271 commented 8 years ago

tab是 vs自动设的。tab有几个好处,一是节省空间,而是backspace或者删除时,少敲键。如果是space*4,需要敲4个回退。 不过,既然已经如此,就按你说的吧。

2betop commented 8 years ago

感谢提供 sourcemap 功能。

但是里面有个不明白的地方 fis-pack.json 功能并没有包含呢。

2betop commented 8 years ago

不过没关系,我会加上这个过程。

2betop commented 8 years ago

我记错了,fis3 内核里面会读取