This is an automated email from the ASF dual-hosted git repository. hainenber pushed a commit to branch feat/significant-npm-audit-fix in repository https://gitbox.apache.org/repos/asf/superset.git
commit 6fef27d862530b69888e5ae6e6ea08b8fdc7cec9 Author: hainenber <[email protected]> AuthorDate: Sat Jan 17 09:13:53 2026 +0700 fix(build): allow extension-less import for improperly ESM `geostyler-style` and `geostyler-qgis-parser` Signed-off-by: hainenber <[email protected]> --- superset-frontend/webpack.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 03e48cc3c5..8142277e2a 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -205,7 +205,7 @@ if (!isDevMode) { new ForkTsCheckerWebpackPlugin({ async: false, typescript: { - memoryLimit: 4096, + memoryLimit: TYPESCRIPT_MEMORY_LIMIT * (process.env.CI ? 1 : 2), build: true, // CRITICAL: Generate .d.ts files for plugins mode: 'write-references', // Handle project references configOverwrite: { @@ -466,6 +466,12 @@ const config = { additionalCode: 'var module = module || {exports: {}};', }, }, + { + test: /node_modules\/(geostyler-style|geostyler-qgis-parser).*\.js$/, + resolve: { + fullySpecified: false + }, + }, { test: /\.tsx?$/, exclude: [/\.test.tsx?$/, /node_modules/],
