Browse Source

fix: build workflow

nc-rspack-swc
DarkPhoenix2704 6 days 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: | run: |
# build nocodb ( pack nocodb-sdk and nc-gui ) # build nocodb ( pack nocodb-sdk and nc-gui )
cd packages/nocodb && 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 - name: Update version in package.json
run: | run: |

4
packages/nocodb/rspack.timely.config.js

@ -53,7 +53,9 @@ module.exports = {
], ],
nodeEnv: false, nodeEnv: false,
}, },
externals: [nodeExternals()], externals: [nodeExternals({
allowlist: ['nocodb-sdk']
})],
resolve: { resolve: {
extensions: ['.tsx', '.ts', '.js', '.json', '.node'], extensions: ['.tsx', '.ts', '.js', '.json', '.node'],
alias: resolveTsAliases(path.resolve('./tsconfig.json')), alias: resolveTsAliases(path.resolve('./tsconfig.json')),

Loading…
Cancel
Save