@cabloy/module-glob 5.0.6 → 5.0.7
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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -114,7 +114,9 @@ async function __loadPackage(modules) {
|
|
|
114
114
|
}
|
|
115
115
|
function __orderModules(context, modules) {
|
|
116
116
|
// 'a-version' first
|
|
117
|
-
|
|
117
|
+
if (modules['a-version']) {
|
|
118
|
+
__pushModule(context, modules, 'a-version');
|
|
119
|
+
}
|
|
118
120
|
// others
|
|
119
121
|
for (const key in modules) {
|
|
120
122
|
if (key !== 'a-version') {
|