theprogrammablemind 7.3.6 → 7.3.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/package.json +1 -1
- package/src/config.js +3 -2
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -1576,7 +1576,8 @@ class Config {
|
|
1576
1576
|
})
|
1577
1577
|
}
|
1578
1578
|
|
1579
|
-
rebuild ({ isModule: mainIsModule = false } = {}) {
|
1579
|
+
// rebuild ({ isModule: mainIsModule = false } = {}) {
|
1580
|
+
rebuild ({ isModule: mainIsModule } = {}) {
|
1580
1581
|
const debug = this.config.debug;
|
1581
1582
|
this.config = _.cloneDeep(this.initConfig)
|
1582
1583
|
if (debug) {
|
@@ -1584,7 +1585,7 @@ class Config {
|
|
1584
1585
|
}
|
1585
1586
|
// already set
|
1586
1587
|
// this.isModule = this.isModule || mainIsModule
|
1587
|
-
mainIsModule = this.isModule
|
1588
|
+
mainIsModule = (mainIsModule === undefined) ? this.isModule : mainIsModule
|
1588
1589
|
this.config.objects.namespaced = {}
|
1589
1590
|
this.resetWasInitialized()
|
1590
1591
|
|