Comments (12)
即便路径不同也会被过滤掉
from fis3-deploy-skip-packed.
还没修好?还等着用呢
from fis3-deploy-skip-packed.
你给我支个招吧
from fis3-deploy-skip-packed.
这。。。判断的时候也判断路径不行?
from fis3-deploy-skip-packed.
具体点?
from fis3-deploy-skip-packed.
说真的,我就不知道了,修不好就留个大bug在这啊
from fis3-deploy-skip-packed.
这样,打包文件, css sprite 的分开配置,先只过滤打包的文件吧,css sprite 先不过滤,因为被引用的可能性比较大
from fis3-deploy-skip-packed.
新加了配置项,可以配置 ignore 把那种即打包,又单独引用的图片配置不排除。
from fis3-deploy-skip-packed.
棒棒哒
from fis3-deploy-skip-packed.
你readme的demo给的还是匹配全部文件,你给来个例子,怎么匹配sprite的文件啊
from fis3-deploy-skip-packed.
打包文件和非打包文件一般分布在不同的文件夹中,每个模块都有自己的打包和非打包文件
from fis3-deploy-skip-packed.
你的意思如何匹配既被 csssprite 合并了的,同时又被 html 中引用了的图片?
这个程序没法判断到,只能写死配置。
fis.match('**', {
deploy: [
fis.plugin('skip-packed', {
// 默认被打包了 js 和 css 以及被 css sprite 合并了的图片都会在这过滤掉,
// 但是如果这些文件满足下面的规则,则依然不过滤
ignore: [
'/static/images/*.gif'
]
}),
fis.plugin('local-deliver', {
to: 'output'
})
]
})
from fis3-deploy-skip-packed.
Related Issues (3)
- 被嵌入的模板文件没有被过滤掉 HOT 2
- 两个html引用同一资源
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fis3-deploy-skip-packed.