@nocobase/app 2.3.0-beta.8 → 2.3.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -275,6 +275,7 @@ export default defineConfig(({ command }) => {
275
275
  },
276
276
  tools: {
277
277
  rspack(config) {
278
+ config.module.rules.push({ test: /zxing_reader\.wasm$/, type: 'asset/resource' });
278
279
  config.target = ['web', 'es2020'];
279
280
  config.optimization = {
280
281
  ...config.optimization,
@@ -346,6 +346,7 @@ export default defineConfig(({ command }) => {
346
346
  },
347
347
  tools: {
348
348
  rspack(config) {
349
+ config.module.rules.push({ test: /zxing_reader\.wasm$/, type: 'asset/resource' });
349
350
  config.target = ['web', 'es2020'];
350
351
  config.output.module = isBuild;
351
352
  config.output.chunkFormat = isBuild ? 'module' : 'array-push';