Browse Source

fix: build workflow

nc-rspack-swc
DarkPhoenix2704 1 week ago
parent
commit
83f4bc43e9
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 4
      .github/workflows/release-timely-docker.yml
  2. 4
      packages/nocodb/rspack.timely.config.js

4
.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: |

4
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')),

Loading…
Cancel
Save