@remotion/bundler 4.0.532 → 4.0.534

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
@@ -296,6 +296,7 @@ const internalBundle = async (actualArgs) => {
296
296
  const html = (0, index_html_1.indexHtml)({
297
297
  importMap: null,
298
298
  staticHash,
299
+ outputHash: null,
299
300
  publicPath,
300
301
  editorName: null,
301
302
  inputProps: null,
@@ -18,3 +18,4 @@ if (RefreshRuntime.__remotionReactRefreshWrapped === null) {
18
18
  return result;
19
19
  };
20
20
  }
21
+ window.remotion_performReactRefresh = () => RefreshRuntime.performReactRefresh();
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ export declare const BundlerInternals: {
30
30
  extraPlugins: any[];
31
31
  }) => Promise<[string, import("@rspack/core").RspackOptions]>;
32
32
  createRspackCompiler: (config: import("@rspack/core").RspackOptions) => import("@rspack/core").Compiler;
33
- indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, completedClientRenders, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, fileSystemPlatform, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, experimentalKeepAudioContextAlive, sampleRate, logLevel, mode, bundleScriptUrl, bundleScriptType, importMap, readOnlyStudio, studioRuntimeConfig, }: import("@remotion/studio-shared").StudioHtmlOptions) => string;
33
+ indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, outputHash, remotionRoot, studioServerCommand, renderQueue, completedClientRenders, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, fileSystemPlatform, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, experimentalKeepAudioContextAlive, sampleRate, logLevel, mode, bundleScriptUrl, bundleScriptType, importMap, readOnlyStudio, studioRuntimeConfig, }: import("@remotion/studio-shared").StudioHtmlOptions) => string;
34
34
  cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "does-not-exist" | "exists" | "other-exists";
35
35
  clearCache: (remotionRoot: string, env: "development" | "production") => Promise<void>;
36
36
  getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, }: {
@@ -73,6 +73,9 @@ const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment,
73
73
  reactScan: (0, react_scan_entry_point_1.getReactScanEntryPoint)(environment),
74
74
  environmentSetup: require.resolve('./setup-environment'),
75
75
  sequenceStackTraces: require.resolve('./setup-sequence-stack-traces'),
76
+ studioBootstrap: environment === 'development'
77
+ ? require.resolve('./setup-studio')
78
+ : null,
76
79
  userDefinedComponent,
77
80
  reactShim: require.resolve('../react-shim.js'),
78
81
  studioRenderEntry: entry,
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const previewBootstrap_1 = require("@remotion/studio/previewBootstrap");
4
+ (0, previewBootstrap_1.initializeStudioPreview)();
@@ -46,6 +46,7 @@ const getResolveConfig = () => ({
46
46
  ...Object.fromEntries([
47
47
  '@remotion/studio',
48
48
  '@remotion/studio/internals',
49
+ '@remotion/studio/previewBootstrap',
49
50
  '@remotion/studio/previewEntry',
50
51
  '@remotion/studio/renderEntry',
51
52
  ].flatMap((specifier) => {
@@ -65,6 +65,9 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
65
65
  reactScan: (0, react_scan_entry_point_1.getReactScanEntryPoint)(environment),
66
66
  environmentSetup: require.resolve('./setup-environment'),
67
67
  sequenceStackTraces: require.resolve('./setup-sequence-stack-traces'),
68
+ studioBootstrap: environment === 'development'
69
+ ? require.resolve('./setup-studio')
70
+ : null,
68
71
  userDefinedComponent,
69
72
  reactShim: require.resolve('../react-shim.js'),
70
73
  studioRenderEntry: entry,
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.532",
6
+ "version": "4.0.534",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "bugs": {
@@ -24,11 +24,11 @@
24
24
  "css-loader": "7.1.4",
25
25
  "esbuild": "0.28.1",
26
26
  "react-refresh": "0.18.0",
27
- "remotion": "4.0.532",
28
- "@remotion/studio": "4.0.532",
29
- "@remotion/studio-shared": "4.0.532",
30
- "@remotion/timeline-utils": "4.0.532",
31
- "@remotion/media-parser": "4.0.532",
27
+ "remotion": "4.0.534",
28
+ "@remotion/studio": "4.0.534",
29
+ "@remotion/studio-shared": "4.0.534",
30
+ "@remotion/timeline-utils": "4.0.534",
31
+ "@remotion/media-parser": "4.0.534",
32
32
  "style-loader": "4.0.0",
33
33
  "webpack": "5.105.0"
34
34
  },
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "react": "19.2.3",
41
41
  "react-dom": "19.2.3",
42
- "@remotion/eslint-config-internal": "4.0.532",
42
+ "@remotion/eslint-config-internal": "4.0.534",
43
43
  "eslint": "9.19.0",
44
44
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
45
45
  },