poi-plugin-reload-game-button 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -447,8 +447,8 @@ function pluginWillUnload() {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
450
|
+
// Use explicit CommonJS exports so poi's dynamic import() exposes every hook
|
|
451
|
+
// as a named export, including the function-valued reactClass property.
|
|
452
|
+
exports.pluginDidLoad = pluginDidLoad
|
|
453
|
+
exports.pluginWillUnload = pluginWillUnload
|
|
454
|
+
exports.reactClass = (props) => require('./views').reactClass(props)
|