@remotion/bundler 4.0.459 → 4.0.461
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.d.ts +1 -3
- package/dist/bundle.js +6 -10
- package/dist/define-plugin-definitions.d.ts +1 -3
- package/dist/define-plugin-definitions.js +1 -2
- package/dist/index.d.ts +3 -7
- package/dist/rspack-config.d.ts +1 -2
- package/dist/rspack-config.js +1 -2
- package/dist/shared-bundler-config.js +1 -1
- package/dist/watch-ignore-next-change-plugin.d.ts +2 -0
- package/dist/watch-ignore-next-change-plugin.js +10 -0
- package/dist/webpack-config.d.ts +1 -2
- package/dist/webpack-config.js +1 -2
- package/package.json +7 -7
package/dist/bundle.d.ts
CHANGED
|
@@ -15,13 +15,12 @@ export type MandatoryLegacyBundleOptions = {
|
|
|
15
15
|
rspack: boolean;
|
|
16
16
|
};
|
|
17
17
|
export type LegacyBundleOptions = Partial<MandatoryLegacyBundleOptions>;
|
|
18
|
-
export declare const getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled,
|
|
18
|
+
export declare const getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled, }: {
|
|
19
19
|
outDir: string;
|
|
20
20
|
entryPoint: string;
|
|
21
21
|
resolvedRemotionRoot: string;
|
|
22
22
|
bufferStateDelayInMilliseconds: number | null;
|
|
23
23
|
experimentalClientSideRenderingEnabled: boolean;
|
|
24
|
-
experimentalVisualModeEnabled: boolean;
|
|
25
24
|
maxTimelineTracks: number | null;
|
|
26
25
|
onProgress: (progress: number) => void;
|
|
27
26
|
options: MandatoryLegacyBundleOptions;
|
|
@@ -36,7 +35,6 @@ type NewBundleOptions = {
|
|
|
36
35
|
bufferStateDelayInMilliseconds: number | null;
|
|
37
36
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
38
37
|
experimentalClientSideRenderingEnabled: boolean;
|
|
39
|
-
experimentalVisualModeEnabled: boolean;
|
|
40
38
|
renderDefaults: RenderDefaults | null;
|
|
41
39
|
};
|
|
42
40
|
type MandatoryBundleOptions = {
|
package/dist/bundle.js
CHANGED
|
@@ -86,7 +86,7 @@ const trimTrailingSlash = (p) => {
|
|
|
86
86
|
}
|
|
87
87
|
return p;
|
|
88
88
|
};
|
|
89
|
-
const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled,
|
|
89
|
+
const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled, }) => {
|
|
90
90
|
var _a, _b, _c, _d;
|
|
91
91
|
const configArgs = {
|
|
92
92
|
entry: node_path_1.default.join(require.resolve('@remotion/studio/renderEntry'), '..', 'esm', 'renderEntry.mjs'),
|
|
@@ -104,7 +104,6 @@ const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, optio
|
|
|
104
104
|
bufferStateDelayInMilliseconds,
|
|
105
105
|
poll: null,
|
|
106
106
|
experimentalClientSideRenderingEnabled,
|
|
107
|
-
experimentalVisualModeEnabled,
|
|
108
107
|
askAIEnabled: (_d = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _d !== void 0 ? _d : true,
|
|
109
108
|
extraPlugins: [],
|
|
110
109
|
};
|
|
@@ -188,7 +187,6 @@ const internalBundle = async (actualArgs) => {
|
|
|
188
187
|
bufferStateDelayInMilliseconds: (_e = actualArgs.bufferStateDelayInMilliseconds) !== null && _e !== void 0 ? _e : null,
|
|
189
188
|
maxTimelineTracks: actualArgs.maxTimelineTracks,
|
|
190
189
|
experimentalClientSideRenderingEnabled: actualArgs.experimentalClientSideRenderingEnabled,
|
|
191
|
-
experimentalVisualModeEnabled: actualArgs.experimentalVisualModeEnabled,
|
|
192
190
|
});
|
|
193
191
|
if (actualArgs.rspack) {
|
|
194
192
|
const { rspack: rspackFn } = require('@rspack/core');
|
|
@@ -316,7 +314,6 @@ const internalBundle = async (actualArgs) => {
|
|
|
316
314
|
});
|
|
317
315
|
node_fs_1.default.writeFileSync(node_path_1.default.join(outDir, 'index.html'), html);
|
|
318
316
|
node_fs_1.default.copyFileSync(node_path_1.default.join(__dirname, '../favicon.ico'), node_path_1.default.join(outDir, 'favicon.ico'));
|
|
319
|
-
node_fs_1.default.copyFileSync(node_path_1.default.resolve(require.resolve('source-map'), '..', 'lib', 'mappings.wasm'), node_path_1.default.join(outDir, studio_shared_1.SOURCE_MAP_ENDPOINT.replace('/', '')));
|
|
320
317
|
return outDir;
|
|
321
318
|
};
|
|
322
319
|
exports.internalBundle = internalBundle;
|
|
@@ -325,7 +322,7 @@ exports.internalBundle = internalBundle;
|
|
|
325
322
|
* @see [Documentation](https://remotion.dev/docs/bundle)
|
|
326
323
|
*/
|
|
327
324
|
async function bundle(...args) {
|
|
328
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v
|
|
325
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
329
326
|
const actualArgs = convertArgumentsIntoOptions(args);
|
|
330
327
|
const result = await (0, exports.internalBundle)({
|
|
331
328
|
bufferStateDelayInMilliseconds: (_a = actualArgs.bufferStateDelayInMilliseconds) !== null && _a !== void 0 ? _a : null,
|
|
@@ -345,11 +342,10 @@ async function bundle(...args) {
|
|
|
345
342
|
webpackOverride: (_p = actualArgs.webpackOverride) !== null && _p !== void 0 ? _p : ((f) => f),
|
|
346
343
|
audioLatencyHint: (_q = actualArgs.audioLatencyHint) !== null && _q !== void 0 ? _q : null,
|
|
347
344
|
experimentalClientSideRenderingEnabled: (_r = actualArgs.experimentalClientSideRenderingEnabled) !== null && _r !== void 0 ? _r : false,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
rspack: (_w = actualArgs.rspack) !== null && _w !== void 0 ? _w : false,
|
|
345
|
+
renderDefaults: (_s = actualArgs.renderDefaults) !== null && _s !== void 0 ? _s : null,
|
|
346
|
+
askAIEnabled: (_t = actualArgs.askAIEnabled) !== null && _t !== void 0 ? _t : true,
|
|
347
|
+
keyboardShortcutsEnabled: (_u = actualArgs.keyboardShortcutsEnabled) !== null && _u !== void 0 ? _u : true,
|
|
348
|
+
rspack: (_v = actualArgs.rspack) !== null && _v !== void 0 ? _v : false,
|
|
353
349
|
});
|
|
354
350
|
return result;
|
|
355
351
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export declare const getDefinePluginDefinitions: ({ maxTimelineTracks, askAIEnabled, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, experimentalClientSideRenderingEnabled,
|
|
1
|
+
export declare const getDefinePluginDefinitions: ({ maxTimelineTracks, askAIEnabled, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, experimentalClientSideRenderingEnabled, }: {
|
|
2
2
|
maxTimelineTracks: number | null;
|
|
3
3
|
askAIEnabled: boolean;
|
|
4
4
|
keyboardShortcutsEnabled: boolean;
|
|
5
5
|
bufferStateDelayInMilliseconds: number | null;
|
|
6
6
|
experimentalClientSideRenderingEnabled: boolean;
|
|
7
|
-
experimentalVisualModeEnabled: boolean;
|
|
8
7
|
}) => {
|
|
9
8
|
'process.env.MAX_TIMELINE_TRACKS': number | null;
|
|
10
9
|
'process.env.ASK_AI_ENABLED': boolean;
|
|
11
10
|
'process.env.KEYBOARD_SHORTCUTS_ENABLED': boolean;
|
|
12
11
|
'process.env.BUFFER_STATE_DELAY_IN_MILLISECONDS': number | null;
|
|
13
12
|
'process.env.EXPERIMENTAL_CLIENT_SIDE_RENDERING_ENABLED': boolean;
|
|
14
|
-
'process.env.EXPERIMENTAL_VISUAL_MODE_ENABLED': boolean;
|
|
15
13
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getDefinePluginDefinitions = void 0;
|
|
4
|
-
const getDefinePluginDefinitions = ({ maxTimelineTracks, askAIEnabled, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, experimentalClientSideRenderingEnabled,
|
|
4
|
+
const getDefinePluginDefinitions = ({ maxTimelineTracks, askAIEnabled, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, experimentalClientSideRenderingEnabled, }) => ({
|
|
5
5
|
'process.env.MAX_TIMELINE_TRACKS': maxTimelineTracks,
|
|
6
6
|
'process.env.ASK_AI_ENABLED': askAIEnabled,
|
|
7
7
|
'process.env.KEYBOARD_SHORTCUTS_ENABLED': keyboardShortcutsEnabled,
|
|
8
8
|
'process.env.BUFFER_STATE_DELAY_IN_MILLISECONDS': bufferStateDelayInMilliseconds,
|
|
9
9
|
'process.env.EXPERIMENTAL_CLIENT_SIDE_RENDERING_ENABLED': experimentalClientSideRenderingEnabled,
|
|
10
|
-
'process.env.EXPERIMENTAL_VISUAL_MODE_ENABLED': experimentalVisualModeEnabled,
|
|
11
10
|
});
|
|
12
11
|
exports.getDefinePluginDefinitions = getDefinePluginDefinitions;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import esbuild = require('esbuild');
|
|
|
3
3
|
import webpack = require('webpack');
|
|
4
4
|
export declare const BundlerInternals: {
|
|
5
5
|
esbuild: typeof esbuild;
|
|
6
|
-
webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled,
|
|
6
|
+
webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }: {
|
|
7
7
|
entry: string;
|
|
8
8
|
userDefinedComponent: string;
|
|
9
9
|
outDir: string | null;
|
|
@@ -18,10 +18,9 @@ export declare const BundlerInternals: {
|
|
|
18
18
|
poll: number | null;
|
|
19
19
|
askAIEnabled: boolean;
|
|
20
20
|
experimentalClientSideRenderingEnabled: boolean;
|
|
21
|
-
experimentalVisualModeEnabled: boolean;
|
|
22
21
|
extraPlugins: webpack.WebpackPluginInstance[];
|
|
23
22
|
}) => Promise<[string, webpack.Configuration]>;
|
|
24
|
-
rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled,
|
|
23
|
+
rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }: {
|
|
25
24
|
entry: string;
|
|
26
25
|
userDefinedComponent: string;
|
|
27
26
|
outDir: string | null;
|
|
@@ -36,7 +35,6 @@ export declare const BundlerInternals: {
|
|
|
36
35
|
poll: number | null;
|
|
37
36
|
askAIEnabled: boolean;
|
|
38
37
|
experimentalClientSideRenderingEnabled: boolean;
|
|
39
|
-
experimentalVisualModeEnabled: boolean;
|
|
40
38
|
extraPlugins: any[];
|
|
41
39
|
}) => Promise<[string, import("@rspack/core").RspackOptions]>;
|
|
42
40
|
createRspackCompiler: (config: import("@rspack/core").RspackOptions) => import("@rspack/core").Compiler;
|
|
@@ -66,13 +64,12 @@ export declare const BundlerInternals: {
|
|
|
66
64
|
}) => string;
|
|
67
65
|
cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "does-not-exist" | "exists" | "other-exists";
|
|
68
66
|
clearCache: (remotionRoot: string, env: "development" | "production") => Promise<void>;
|
|
69
|
-
getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled,
|
|
67
|
+
getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled, }: {
|
|
70
68
|
outDir: string;
|
|
71
69
|
entryPoint: string;
|
|
72
70
|
resolvedRemotionRoot: string;
|
|
73
71
|
bufferStateDelayInMilliseconds: number | null;
|
|
74
72
|
experimentalClientSideRenderingEnabled: boolean;
|
|
75
|
-
experimentalVisualModeEnabled: boolean;
|
|
76
73
|
maxTimelineTracks: number | null;
|
|
77
74
|
onProgress: (progress: number) => void;
|
|
78
75
|
options: import("./bundle").MandatoryLegacyBundleOptions;
|
|
@@ -97,7 +94,6 @@ export declare const BundlerInternals: {
|
|
|
97
94
|
bufferStateDelayInMilliseconds: number | null;
|
|
98
95
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
99
96
|
experimentalClientSideRenderingEnabled: boolean;
|
|
100
|
-
experimentalVisualModeEnabled: boolean;
|
|
101
97
|
renderDefaults: import("@remotion/studio-shared").RenderDefaults | null;
|
|
102
98
|
} & import("./bundle").MandatoryLegacyBundleOptions) => Promise<string>;
|
|
103
99
|
};
|
package/dist/rspack-config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Configuration } from '@rspack/core';
|
|
2
2
|
import type { WebpackOverrideFn } from './webpack-config';
|
|
3
3
|
export type RspackConfiguration = Configuration;
|
|
4
|
-
export declare const rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled,
|
|
4
|
+
export declare const rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }: {
|
|
5
5
|
entry: string;
|
|
6
6
|
userDefinedComponent: string;
|
|
7
7
|
outDir: string | null;
|
|
@@ -16,7 +16,6 @@ export declare const rspackConfig: ({ entry, userDefinedComponent, outDir, envir
|
|
|
16
16
|
poll: number | null;
|
|
17
17
|
askAIEnabled: boolean;
|
|
18
18
|
experimentalClientSideRenderingEnabled: boolean;
|
|
19
|
-
experimentalVisualModeEnabled: boolean;
|
|
20
19
|
extraPlugins: any[];
|
|
21
20
|
}) => Promise<[string, import("@rspack/core").RspackOptions]>;
|
|
22
21
|
export declare const createRspackCompiler: (config: import("@rspack/core").RspackOptions) => import("@rspack/core").Compiler;
|
package/dist/rspack-config.js
CHANGED
|
@@ -8,7 +8,7 @@ const core_1 = require("@rspack/core");
|
|
|
8
8
|
const plugin_react_refresh_1 = __importDefault(require("@rspack/plugin-react-refresh"));
|
|
9
9
|
const define_plugin_definitions_1 = require("./define-plugin-definitions");
|
|
10
10
|
const shared_bundler_config_1 = require("./shared-bundler-config");
|
|
11
|
-
const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled,
|
|
11
|
+
const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }) => {
|
|
12
12
|
let lastProgress = 0;
|
|
13
13
|
const define = new core_1.DefinePlugin((0, define_plugin_definitions_1.getDefinePluginDefinitions)({
|
|
14
14
|
maxTimelineTracks,
|
|
@@ -16,7 +16,6 @@ const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
16
16
|
keyboardShortcutsEnabled,
|
|
17
17
|
bufferStateDelayInMilliseconds,
|
|
18
18
|
experimentalClientSideRenderingEnabled,
|
|
19
|
-
experimentalVisualModeEnabled,
|
|
20
19
|
}));
|
|
21
20
|
const swcLoaderRule = {
|
|
22
21
|
loader: 'builtin:swc-loader',
|
|
@@ -34,7 +34,7 @@ const getResolveConfig = () => ({
|
|
|
34
34
|
'@remotion/media-parser/worker': node_path_1.default.resolve(require.resolve('@remotion/media-parser'), '..', 'esm', 'worker.mjs'),
|
|
35
35
|
// test visual controls before removing this
|
|
36
36
|
'@remotion/studio': require.resolve('@remotion/studio'),
|
|
37
|
-
[node_path_1.default.join(require.resolve('@remotion/
|
|
37
|
+
[node_path_1.default.join(require.resolve('@remotion/timeline-utils'), '..', 'audio-waveform-worker.mjs')]: node_path_1.default.join(require.resolve('@remotion/timeline-utils'), '..', 'esm', 'audio-waveform-worker.mjs'),
|
|
38
38
|
'react-dom/client': exports.shouldUseReactDomClient
|
|
39
39
|
? require.resolve('react-dom/client')
|
|
40
40
|
: require.resolve('react-dom'),
|
|
@@ -5,11 +5,13 @@ export declare class WatchIgnoreNextChangePlugin {
|
|
|
5
5
|
private dirsToIgnore;
|
|
6
6
|
private snapshotFileTimestamps;
|
|
7
7
|
private snapshotDirTimestamps;
|
|
8
|
+
private suppressedFilesHistory;
|
|
8
9
|
private currentWatcher;
|
|
9
10
|
private trace;
|
|
10
11
|
constructor(trace: TraceLogFn);
|
|
11
12
|
ignoreNextChange(file: string): void;
|
|
12
13
|
unignoreNextChange(file: string): void;
|
|
14
|
+
consumeSuppressedFilesHistory(): string[];
|
|
13
15
|
apply(compiler: Compiler): void;
|
|
14
16
|
}
|
|
15
17
|
export {};
|
|
@@ -17,6 +17,7 @@ class WatchIgnoreNextChangePlugin {
|
|
|
17
17
|
dirsToIgnore = new Set();
|
|
18
18
|
snapshotFileTimestamps = new Map();
|
|
19
19
|
snapshotDirTimestamps = new Map();
|
|
20
|
+
suppressedFilesHistory = new Set();
|
|
20
21
|
currentWatcher = null;
|
|
21
22
|
trace;
|
|
22
23
|
constructor(trace) {
|
|
@@ -58,6 +59,14 @@ class WatchIgnoreNextChangePlugin {
|
|
|
58
59
|
this.snapshotFileTimestamps.delete(file);
|
|
59
60
|
this.snapshotDirTimestamps.delete(dir);
|
|
60
61
|
}
|
|
62
|
+
// Returns and clears the list of files whose changes were previously
|
|
63
|
+
// suppressed. Caller can use this to e.g. touch the files later and
|
|
64
|
+
// trigger a real rebuild.
|
|
65
|
+
consumeSuppressedFilesHistory() {
|
|
66
|
+
const files = [...this.suppressedFilesHistory];
|
|
67
|
+
this.suppressedFilesHistory.clear();
|
|
68
|
+
return files;
|
|
69
|
+
}
|
|
61
70
|
apply(compiler) {
|
|
62
71
|
compiler.hooks.afterEnvironment.tap('WatchIgnoreNextChangePlugin', () => {
|
|
63
72
|
const wfs = compiler.watchFileSystem;
|
|
@@ -101,6 +110,7 @@ class WatchIgnoreNextChangePlugin {
|
|
|
101
110
|
}
|
|
102
111
|
if (wasInChanged) {
|
|
103
112
|
suppressedFiles.push(file);
|
|
113
|
+
self.suppressedFilesHistory.add(file);
|
|
104
114
|
self.filesToIgnore.delete(file);
|
|
105
115
|
self.snapshotFileTimestamps.delete(file);
|
|
106
116
|
}
|
package/dist/webpack-config.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Configuration } from 'webpack';
|
|
|
2
2
|
import webpack from 'webpack';
|
|
3
3
|
export type WebpackConfiguration = Configuration;
|
|
4
4
|
export type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration | Promise<WebpackConfiguration>;
|
|
5
|
-
export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled,
|
|
5
|
+
export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }: {
|
|
6
6
|
entry: string;
|
|
7
7
|
userDefinedComponent: string;
|
|
8
8
|
outDir: string | null;
|
|
@@ -17,6 +17,5 @@ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, envi
|
|
|
17
17
|
poll: number | null;
|
|
18
18
|
askAIEnabled: boolean;
|
|
19
19
|
experimentalClientSideRenderingEnabled: boolean;
|
|
20
|
-
experimentalVisualModeEnabled: boolean;
|
|
21
20
|
extraPlugins: webpack.WebpackPluginInstance[];
|
|
22
21
|
}) => Promise<[string, Configuration]>;
|
package/dist/webpack-config.js
CHANGED
|
@@ -46,7 +46,7 @@ const esbuild = require("esbuild");
|
|
|
46
46
|
function truthy(value) {
|
|
47
47
|
return Boolean(value);
|
|
48
48
|
}
|
|
49
|
-
const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled,
|
|
49
|
+
const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }) => {
|
|
50
50
|
const esbuildLoaderOptions = {
|
|
51
51
|
target: 'chrome85',
|
|
52
52
|
loader: 'tsx',
|
|
@@ -60,7 +60,6 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
60
60
|
keyboardShortcutsEnabled,
|
|
61
61
|
bufferStateDelayInMilliseconds,
|
|
62
62
|
experimentalClientSideRenderingEnabled,
|
|
63
|
-
experimentalVisualModeEnabled,
|
|
64
63
|
}));
|
|
65
64
|
const conf = await webpackOverride({
|
|
66
65
|
...(0, shared_bundler_config_1.getBaseConfig)(environment, poll),
|
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.
|
|
6
|
+
"version": "4.0.461",
|
|
7
7
|
"description": "Bundle Remotion compositions using Webpack",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"postcss-value-parser": "4.2.0",
|
|
28
28
|
"esbuild": "0.25.0",
|
|
29
29
|
"react-refresh": "0.18.0",
|
|
30
|
-
"remotion": "4.0.
|
|
31
|
-
"@remotion/studio": "4.0.
|
|
32
|
-
"@remotion/studio-shared": "4.0.
|
|
33
|
-
"@remotion/
|
|
30
|
+
"remotion": "4.0.461",
|
|
31
|
+
"@remotion/studio": "4.0.461",
|
|
32
|
+
"@remotion/studio-shared": "4.0.461",
|
|
33
|
+
"@remotion/timeline-utils": "4.0.461",
|
|
34
|
+
"@remotion/media-parser": "4.0.461",
|
|
34
35
|
"style-loader": "4.0.0",
|
|
35
|
-
"source-map": "0.7.3",
|
|
36
36
|
"webpack": "5.105.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"react": "19.2.3",
|
|
44
44
|
"react-dom": "19.2.3",
|
|
45
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/eslint-config-internal": "4.0.461",
|
|
46
46
|
"eslint": "9.19.0",
|
|
47
47
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
48
48
|
},
|