@vnejs/shared 0.0.4 → 0.0.5
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 +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export const VNE_SETTINGS = {};
|
|
|
5
5
|
export const VNE_MODULES = [];
|
|
6
6
|
export const VNE_MODULE_EXTENSIONS = {};
|
|
7
7
|
|
|
8
|
-
const regModule = (Module) => Module && VNE_MODULES.push(Module);
|
|
8
|
+
export const regModule = (Module) => Module && VNE_MODULES.push(Module);
|
|
9
9
|
|
|
10
10
|
export const regPlugin = (namespace = "", { constants = {}, events = {}, settings = {} } = {}, modules = []) => {
|
|
11
11
|
if (!namespace) return;
|