update SSR in bundler
This commit is contained in:
@@ -224,9 +224,10 @@ func bundleEntry(entrySource, projectRoot string, withMeta bool) (js, metafile s
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
// The Go Solid compiler (Plugin) compiles .tsx before the catch-all stub sees
|
// aliasPlugin resolves @ui/@kjol/@appgen into the kjol web tree first; the Go
|
||||||
// any of its imports.
|
// Solid compiler (Plugin) compiles .tsx before the catch-all stub sees any of
|
||||||
plugins := []esbuild.Plugin{Plugin(), stubPlugin}
|
// its imports.
|
||||||
|
plugins := []esbuild.Plugin{aliasPlugin(), Plugin(), stubPlugin}
|
||||||
|
|
||||||
result := esbuild.Build(esbuild.BuildOptions{
|
result := esbuild.Build(esbuild.BuildOptions{
|
||||||
Stdin: &esbuild.StdinOptions{
|
Stdin: &esbuild.StdinOptions{
|
||||||
|
|||||||
Reference in New Issue
Block a user