mirror of
https://shylinux.com/x/icebergs
synced 2025-05-04 04:17:01 +08:00
opt some
This commit is contained in:
parent
2e0f074e20
commit
7d6b3a8763
@ -17,6 +17,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func _binpack_file(m *ice.Message, w io.Writer, arg ...string) {
|
func _binpack_file(m *ice.Message, w io.Writer, arg ...string) {
|
||||||
|
if kit.Contains(arg[0], "/node_modules/", "/dist/", "/bin/", "/log/") {
|
||||||
|
return
|
||||||
|
}
|
||||||
if strings.HasPrefix(arg[0], "usr/volcanos/publish/") && !strings.HasSuffix(arg[0], "/proto.js") {
|
if strings.HasPrefix(arg[0], "usr/volcanos/publish/") && !strings.HasSuffix(arg[0], "/proto.js") {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user