build: add noweb tag to allow building without frontend assets (#5189)

This commit is contained in:
fatedier
2026-03-02 01:32:19 +08:00
committed by GitHub
parent 01997deb98
commit 381245a439
8 changed files with 34 additions and 13 deletions

View File

@@ -1,3 +1,5 @@
//go:build !noweb
package frpc
import (

3
web/frpc/embed_stub.go Normal file
View File

@@ -0,0 +1,3 @@
//go:build noweb
package frpc

View File

@@ -1,3 +1,5 @@
//go:build !noweb
package frps
import (

3
web/frps/embed_stub.go Normal file
View File

@@ -0,0 +1,3 @@
//go:build noweb
package frps