DEV: Fix ordering of freeze-valid-transformers (#28374)

plugins/themes need to use `withPluginApi` to register transformers, and that only works after `discourse-bootstrap` has been run
This commit is contained in:
David Taylor 2024-08-14 18:22:48 +01:00 committed by GitHub
parent fc33826dc5
commit b7b233423d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,7 @@ import { _freezeValidTransformerNames } from "discourse/lib/transformer";
export default {
before: "inject-discourse-objects",
after: "discourse-bootstrap",
initialize() {
_freezeValidTransformerNames();