rename packages, refactor out tailwind compiler,
This commit is contained in:
11
go/wasmdevserver/devserver_wasm.go
Normal file
11
go/wasmdevserver/devserver_wasm.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build js && wasm
|
||||
|
||||
// This file exists only so the package is not EMPTY under js/wasm.
|
||||
//
|
||||
// wasmdevserver is a server: it compiles Go, serves HTTP, and walks the filesystem —
|
||||
// none of which a browser can do. The real file is excluded from the wasm build (it
|
||||
// depends on rsc.Handler, which is itself server-only). But a package whose files are
|
||||
// all excluded is a build error, not an empty package, and `GOOS=js go build ./...`
|
||||
// would fail on it — which is exactly the command you run to check the half of kjol
|
||||
// that DOES target wasm. So the package stays present here, and empty.
|
||||
package wasmdevserver
|
||||
Reference in New Issue
Block a user