mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat(extensions): Allow replacing editors using extensions (#37499)
This commit is contained in:
committed by
GitHub
parent
675a4c7a66
commit
6cb3cea960
@@ -27,6 +27,11 @@ const { existsSync } = require("node:fs");
|
||||
const { chdir, cwd } = require("node:process");
|
||||
const { createRequire } = require("node:module");
|
||||
|
||||
// Increase memory limit for TypeScript compiler
|
||||
if (!process.env.NODE_OPTIONS?.includes("--max-old-space-size")) {
|
||||
process.env.NODE_OPTIONS = `${process.env.NODE_OPTIONS || ""} --max-old-space-size=8192`.trim();
|
||||
}
|
||||
|
||||
const SUPERSET_ROOT = dirname(__dirname);
|
||||
const PACKAGE_ARG_REGEX = /^package=/;
|
||||
const EXCLUDE_DECLARATION_DIR_REGEX = /^excludeDeclarationDir=/;
|
||||
|
||||
Reference in New Issue
Block a user