build

package
v0.0.0-...-95e8c34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Target = api.ES2020
View Source
const VERSION = "0.2.4"

Variables

View Source
var Engines = []api.Engine{
	{
		Name:    api.EngineChrome,
		Version: "84",
	},
}

Steam is using Chrome 84

Functions

func BuildEvalScript

func BuildEvalScript(serverPort string, uiMode cdp.UIMode, script, steamPath, authToken, pluginsDir string) (string, error)

BuildEvalScript builds a script to be evaluated in the Steam target context.

func BuildEvalScriptFromFile

func BuildEvalScriptFromFile(serverPort string, uiMode cdp.UIMode, scriptPath, steamPath, authToken, pluginsDir string) (string, error)

BuildEvalScriptFromFile gets a script from a file and builds an eval script with it.

func BundleScripts

func BundleScripts() error

func BundleSharedScripts

func BundleSharedScripts() (string, error)

func DomChefPlugin

func DomChefPlugin() api.Plugin

This plugin allows using dom-chef instead of Preact in the given TSX file by adding a comment that says `// @use-dom-chef` at the top of the file. The dom-chef import will override the injected preact shim imports.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL