Browse Source

fix: update rspack config

DarkPhoenix2704 3 weeks ago
parent
commit
d8cdf9ffbf
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 4
      packages/nocodb/docker/rspack.config.js
  2. 4
      packages/nocodb/rspack.cli.config.js
  3. 4
      packages/nocodb/rspack.config.js
  4. 4
      packages/nocodb/rspack.local.config.js

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

@ -62,7 +62,9 @@ module.exports = {
],
nodeEnv: false,
},
externals: [nodeExternals()],
externals: [nodeExternals({
allowlist: ['nocodb-sdk']
})],
plugins: [
new rspack.EnvironmentPlugin({
EE: true,

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

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

4
packages/nocodb/rspack.config.js

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

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

@ -54,7 +54,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