Commit 3d515d3
Plugin: use pluginClass.name for reliable class name extraction
plugin.register() now uses pluginClass.name before falling back to
the toString() regex. Fixes class name extraction when bundlers
(e.g. esbuild) strip class names from minified output, which caused
"plugin extends already registered" errors when registering multiple plugins.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5a828f9 commit 3d515d3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments