mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
update docs
This commit is contained in:
@@ -865,6 +865,7 @@ makeGlobalAsyncLocalStorage().run({}, async function () {
|
||||
var appDir = files.findAppDir();
|
||||
if (appDir) {
|
||||
appDir = files.pathResolve(appDir);
|
||||
// Initialize meteorConfig globally for command context
|
||||
global.meteorConfig = getMeteorConfig(appDir);
|
||||
}
|
||||
|
||||
|
||||
@@ -1817,6 +1817,8 @@ export class MeteorConfig {
|
||||
...(this._config || {}),
|
||||
modern: global.normalizeModern(global.modernForced || this._config?.modern),
|
||||
};
|
||||
// Reinitialize meteorConfig globally for project context
|
||||
// Updates config when package.json changes trigger rebuilds
|
||||
global.meteorConfig = this._config;
|
||||
return this._config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user