dara-core 1.18.5__py3-none-any.whl → 1.19.0__py3-none-any.whl

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.
@@ -313,8 +313,9 @@ class BuildCache(BaseModel):
313
313
  # Append core deps required for building/dev mode
314
314
  pkg_json['dependencies'] = {
315
315
  **deps,
316
- '@vitejs/plugin-react': '2.1.0',
317
- 'vite': '3.1.8',
316
+ '@vitejs/plugin-react': '4.6.0',
317
+ 'vite': '7.0.4',
318
+ 'vite-plugin-node-polyfills': '0.24.0',
318
319
  }
319
320
 
320
321
  return pkg_json
@@ -1,18 +1,27 @@
1
1
  import react from '@vitejs/plugin-react';
2
2
  import { defineConfig } from 'vite';
3
+ import { nodePolyfills } from 'vite-plugin-node-polyfills';
3
4
 
4
5
  export default defineConfig({
5
6
  base: '',
6
7
  plugins: [
7
8
  react({
8
9
  jsxRuntime: 'classic',
9
- })
10
+ }),
11
+ // Some package we're pulling requires node polyfills for stream
12
+ nodePolyfills({
13
+ globals: {
14
+ process: true,
15
+ Buffer: true,
16
+ global: true,
17
+ },
18
+ }),
10
19
  ],
11
20
  publicDir: false,
12
21
  build: {
13
22
  outDir: '$$output$$',
14
23
  assetsDir: '',
15
- manifest: true,
24
+ manifest: 'manifest.json',
16
25
  rollupOptions: {
17
26
  input: './_entry.tsx',
18
27
  },
@@ -35,5 +44,5 @@ export default defineConfig({
35
44
  },
36
45
  worker: {
37
46
  format: 'es',
38
- }
47
+ },
39
48
  });