build: enable plugin system in production (#3480)
This commit is contained in:
1 parent
1d43e46f99
commit
e85404a9c5
1 file changed
+1
-1
@@ -38,7 +38,7 @@ Promise.all(
|
||||
globalThis.__pluginPackageJson__.push(packageJson);
|
||||
logger.debug(`registering plugin ${pluginName}`);
|
||||
logger.debug(`package.json: ${packageJson}`);
|
||||
if (!release && process.env.NODE_ENV === 'production') {
|
||||
if (!release && !runtimeConfig.enablePlugin) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
const baseURL = url;
|
||||
|
||||
Reference in new issue
Block a user