Skip to content

Update for new core plugin compiler#308

Merged
angusmcleod merged 1 commit into
paviliondev:mainfrom
davidtaylorhq:new-plugin-compiler
Mar 23, 2026
Merged

Update for new core plugin compiler#308
angusmcleod merged 1 commit into
paviliondev:mainfrom
davidtaylorhq:new-plugin-compiler

Conversation

@davidtaylorhq
Copy link
Copy Markdown
Contributor

  • Module-level code is now evaluated earlier, so site-settings are not available. Move that logic to an initializer

  • Importing admin modules from non-admin code will now raise an error. Updated to use optionalRequire()

https://meta.discourse.org/t/398713

- Module-level code is now evaluated earlier, so site-settings are not available. Move that logic to an initializer

- Importing admin modules from non-admin code will now raise an error. Updated to use `optionalRequire()`

https://meta.discourse.org/t/398713
@angusmcleod
Copy link
Copy Markdown
Member

Amazing, thanks David.

@angusmcleod angusmcleod merged commit 79e16e0 into paviliondev:main Mar 23, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants