Answer the question
In order to leave comments, you need to log in
Exclude format in Gulp 4?
tell me how to exclude certain formats when building in gulp 4?
function build() {
return gulp
.src([
`${PATHS.doc}/**/*.*`,
`${PATHS.pic}/**/*.*`
])
.pipe(gulp.dest("./dist/"));
}
${PATHS.pic}/**/*.*
formats must be excluded from the folder.
It works like this:`!${PATHS.pic}/**/*.psd`, `!${PATHS.pic}/**/*.gif`,
Answer the question
In order to leave comments, you need to log in
[
`${PATHS.doc}/**/*.*`,
`${PATHS.pic}/**/*.*`,
`!${PATHS.pic}/**/*.+(pdn|psd|ai)`
]
[
`${PATHS.doc}/**/*.!(pdn|psd|ai)`,
`${PATHS.pic}/**/*.*`
]
function build() {
return gulp.src([
`${PATHS.doc}/**/*.*`,
`${PATHS.pic}/**/*.*`
],{
ignore: `${PATHS.pic}/**/*.+(pdn|psd|ai)`
})
.pipe(gulp.dest("./dist/"));
}
This line
is obtained with
iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- anywhere !192.168.1.1
If you have such a configuration and you want to view it in the form of rules, then use
If you save to a file, then
you can load from the file with the commandiptables-restore < file
Well, you already have them, why should you prescribe?
iptables-save will show them to you in the line for the iptables command
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question