fex-team / fis3-packager-map

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

多个js打包后,怎样packTo到指定域名链接? #3

Open Lapsec opened 9 years ago

Lapsec commented 9 years ago

比如现在有3个js,1.js, 2.js, 3.js pacto后成为 www.baidu.com/lib.js 该怎样配置?

2betop commented 8 years ago

比如你那三文件都 packTo 到了 lib.js

加个配置就搞定了

fis.match('lib.js', {
  domain: 'http://www.baidu.com'
})