# 自定义巫师插件 🧙

**URL:** <https://meta.discourse.org/t/custom-wizard-plugin/73345>\
**Category:** Plugin\
**Tags:** pavilion\
**Created:** [2017年十一月3日 10:25 UTC](https://meta.discourse.org/t/custom-wizard-plugin/73345 "2017-11-03T10:25:13Z")\
**Posts on this page:** 1\
**Showing post:** 937

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2026年三月23日 11:12 UTC](https://meta.discourse.org/t/custom-wizard-plugin/73345/937 "2026-03-23T11:12:46Z")

</div>

我认为这会有帮助：

> <https://github.com/paviliondev/discourse-custom-wizard/pull/308>
>
> \- 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

抄送 @angus

[quote=“nesges, post:934, topic:73345, full:true”]  
设置 `ROLLUP_PLUGIN_COMPILER: 0` 确实有帮助。谢谢！  
[/quote]请记住，此选项不会长期可用。一旦 custom-wizard 修复，我建议您切换回新的编译器。

---

_[View the full topic](https://meta.discourse.org/t/custom-wizard-plugin/73345)._
