@remotion/bundler 4.0.386 → 4.0.387

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.
package/dist/bundle.js CHANGED
@@ -86,6 +86,7 @@ const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, optio
86
86
  keyboardShortcutsEnabled: true,
87
87
  bufferStateDelayInMilliseconds,
88
88
  poll: null,
89
+ experimentalClientSideRenderingEnabled: false,
89
90
  });
90
91
  };
91
92
  exports.getConfig = getConfig;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import esbuild = require('esbuild');
2
2
  import webpack = require('webpack');
3
3
  export declare const BundlerInternals: {
4
4
  esbuild: typeof esbuild;
5
- webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, }: {
5
+ webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, }: {
6
6
  entry: string;
7
7
  userDefinedComponent: string;
8
8
  outDir: string | null;
@@ -15,6 +15,7 @@ export declare const BundlerInternals: {
15
15
  bufferStateDelayInMilliseconds: number | null;
16
16
  remotionRoot: string;
17
17
  poll: number | null;
18
+ experimentalClientSideRenderingEnabled: boolean;
18
19
  }) => Promise<[string, import("./webpack-config").WebpackConfiguration]>;
19
20
  indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, logLevel, mode, }: {
20
21
  staticHash: string;
@@ -1,7 +1,7 @@
1
1
  import type { Configuration } from 'webpack';
2
2
  export type WebpackConfiguration = Configuration;
3
3
  export type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration | Promise<WebpackConfiguration>;
4
- export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, }: {
4
+ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, }: {
5
5
  entry: string;
6
6
  userDefinedComponent: string;
7
7
  outDir: string | null;
@@ -14,4 +14,5 @@ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, envi
14
14
  bufferStateDelayInMilliseconds: number | null;
15
15
  remotionRoot: string;
16
16
  poll: number | null;
17
+ experimentalClientSideRenderingEnabled: boolean;
17
18
  }) => Promise<[string, WebpackConfiguration]>;
@@ -63,7 +63,7 @@ const shouldUseReactDomClient = no_react_1.NoReactInternals.ENABLE_V5_BREAKING_C
63
63
  function truthy(value) {
64
64
  return Boolean(value);
65
65
  }
66
- const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, }) => {
66
+ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, }) => {
67
67
  const esbuildLoaderOptions = {
68
68
  target: 'chrome85',
69
69
  loader: 'tsx',
@@ -76,6 +76,7 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
76
76
  'process.env.MAX_TIMELINE_TRACKS': maxTimelineTracks,
77
77
  'process.env.KEYBOARD_SHORTCUTS_ENABLED': keyboardShortcutsEnabled,
78
78
  'process.env.BUFFER_STATE_DELAY_IN_MILLISECONDS': bufferStateDelayInMilliseconds,
79
+ 'process.env.EXPERIMENTAL_CLIENT_SIDE_RENDERING_ENABLED': experimentalClientSideRenderingEnabled,
79
80
  });
80
81
  const conf = await webpackOverride({
81
82
  optimization: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
4
4
  },
5
5
  "name": "@remotion/bundler",
6
- "version": "4.0.386",
6
+ "version": "4.0.387",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -22,10 +22,10 @@
22
22
  "css-loader": "5.2.7",
23
23
  "esbuild": "0.25.0",
24
24
  "react-refresh": "0.9.0",
25
- "remotion": "4.0.386",
26
- "@remotion/studio": "4.0.386",
27
- "@remotion/studio-shared": "4.0.386",
28
- "@remotion/media-parser": "4.0.386",
25
+ "remotion": "4.0.387",
26
+ "@remotion/studio": "4.0.387",
27
+ "@remotion/studio-shared": "4.0.387",
28
+ "@remotion/media-parser": "4.0.387",
29
29
  "style-loader": "4.0.0",
30
30
  "source-map": "0.7.3",
31
31
  "webpack": "5.96.1"
@@ -35,9 +35,9 @@
35
35
  "react-dom": ">=16.8.0"
36
36
  },
37
37
  "devDependencies": {
38
- "react": "19.2.1",
39
- "react-dom": "19.2.1",
40
- "@remotion/eslint-config-internal": "4.0.386",
38
+ "react": "19.2.3",
39
+ "react-dom": "19.2.3",
40
+ "@remotion/eslint-config-internal": "4.0.387",
41
41
  "eslint": "9.19.0"
42
42
  },
43
43
  "keywords": [