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 authored and GitHub committed 2025-11-19 15:42:27 +01:00
1 parent acf6f1ae5f
commit be0857fa8f
5 files changed
+39 -1

No files matched your search

+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) {