diff --git a/.github/workflows/release-timely-docker.yml b/.github/workflows/release-timely-docker.yml index 22ac3b4e79..238dd90720 100644 --- a/.github/workflows/release-timely-docker.yml +++ b/.github/workflows/release-timely-docker.yml @@ -104,7 +104,9 @@ jobs: run: | # build nocodb ( pack nocodb-sdk and nc-gui ) cd packages/nocodb && - EE=true pnpm exec rspack --config rspack.timely.config.js + EE=true pnpm exec rspack --config rspack.timely.config.js && + # remove bundled libraries (nocodb-sdk, knex-snowflake) + pnpm uninstall --save-prod nocodb-sdk - name: Update version in package.json run: | diff --git a/packages/nocodb/rspack.timely.config.js b/packages/nocodb/rspack.timely.config.js index 58580ecd4c..1826f67a77 100644 --- a/packages/nocodb/rspack.timely.config.js +++ b/packages/nocodb/rspack.timely.config.js @@ -53,7 +53,9 @@ module.exports = { ], nodeEnv: false, }, - externals: [nodeExternals()], + externals: [nodeExternals({ + allowlist: ['nocodb-sdk'] + })], resolve: { extensions: ['.tsx', '.ts', '.js', '.json', '.node'], alias: resolveTsAliases(path.resolve('./tsconfig.json')),