Plugins: Pass build mode to frontend (#114092)

* pass build mode to frontend

* set buildMode build time using shared plugin webpack conf
This commit is contained in:
Erik Sundell
2025-11-19 15:42:27 +01:00
committed by GitHub
parent acf6f1ae5f
commit be0857fa8f
5 changed files with 39 additions and 1 deletions
+3
View File
@@ -133,6 +133,9 @@ type JSONData struct {
// List of languages supported by the plugin
Languages []string `json:"languages,omitempty"`
// Build mode of the plugin (set automatically at build time)
BuildMode string `json:"buildMode,omitempty"`
}
func ReadPluginJSON(reader io.Reader) (JSONData, error) {