@remotion/bundler 4.0.460 → 4.0.462
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 +8 -3
- package/dist/bundle.js +22 -20
- 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/webpack-config.d.ts +1 -2
- package/dist/webpack-config.js +1 -2
- package/package.json +8 -9
package/dist/bundle.d.ts
CHANGED
|
@@ -13,15 +13,21 @@ export type MandatoryLegacyBundleOptions = {
|
|
|
13
13
|
keyboardShortcutsEnabled: boolean;
|
|
14
14
|
askAIEnabled: boolean;
|
|
15
15
|
rspack: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If true, the public directory is symlinked into the bundle output instead of copied.
|
|
18
|
+
* Safe for throwaway bundles (e.g. CLI render where the output folder is deleted after);
|
|
19
|
+
* do not use when the bundle must be self-contained for deployment.
|
|
20
|
+
* Has no effect on Windows, where the public directory is always copied.
|
|
21
|
+
*/
|
|
22
|
+
symlinkPublicDir: boolean;
|
|
16
23
|
};
|
|
17
24
|
export type LegacyBundleOptions = Partial<MandatoryLegacyBundleOptions>;
|
|
18
|
-
export declare const getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled,
|
|
25
|
+
export declare const getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled, }: {
|
|
19
26
|
outDir: string;
|
|
20
27
|
entryPoint: string;
|
|
21
28
|
resolvedRemotionRoot: string;
|
|
22
29
|
bufferStateDelayInMilliseconds: number | null;
|
|
23
30
|
experimentalClientSideRenderingEnabled: boolean;
|
|
24
|
-
experimentalVisualModeEnabled: boolean;
|
|
25
31
|
maxTimelineTracks: number | null;
|
|
26
32
|
onProgress: (progress: number) => void;
|
|
27
33
|
options: MandatoryLegacyBundleOptions;
|
|
@@ -36,7 +42,6 @@ type NewBundleOptions = {
|
|
|
36
42
|
bufferStateDelayInMilliseconds: number | null;
|
|
37
43
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
38
44
|
experimentalClientSideRenderingEnabled: boolean;
|
|
39
|
-
experimentalVisualModeEnabled: boolean;
|
|
40
45
|
renderDefaults: RenderDefaults | null;
|
|
41
46
|
};
|
|
42
47
|
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');
|
|
@@ -265,17 +263,22 @@ const internalBundle = async (actualArgs) => {
|
|
|
265
263
|
console.warn(`\nFound a symbolic link in the public folder (${absolutePath}). The symlink will be forwarded into the bundle.`);
|
|
266
264
|
};
|
|
267
265
|
if (node_fs_1.default.existsSync(from)) {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
266
|
+
if (actualArgs.symlinkPublicDir && process.platform !== 'win32') {
|
|
267
|
+
await node_fs_1.default.promises.symlink(from, to);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
await (0, copy_dir_1.copyDir)({
|
|
271
|
+
src: from,
|
|
272
|
+
dest: to,
|
|
273
|
+
onSymlinkDetected: showSymlinkWarning,
|
|
274
|
+
onProgress: (prog) => {
|
|
275
|
+
var _a;
|
|
276
|
+
return (_a = options.onPublicDirCopyProgress) === null || _a === void 0 ? void 0 : _a.call(options, prog);
|
|
277
|
+
},
|
|
278
|
+
copiedBytes: 0,
|
|
279
|
+
lastReportedProgress: 0,
|
|
280
|
+
});
|
|
281
|
+
}
|
|
279
282
|
}
|
|
280
283
|
const html = (0, index_html_1.indexHtml)({
|
|
281
284
|
staticHash,
|
|
@@ -316,7 +319,6 @@ const internalBundle = async (actualArgs) => {
|
|
|
316
319
|
});
|
|
317
320
|
node_fs_1.default.writeFileSync(node_path_1.default.join(outDir, 'index.html'), html);
|
|
318
321
|
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
322
|
return outDir;
|
|
321
323
|
};
|
|
322
324
|
exports.internalBundle = internalBundle;
|
|
@@ -345,11 +347,11 @@ async function bundle(...args) {
|
|
|
345
347
|
webpackOverride: (_p = actualArgs.webpackOverride) !== null && _p !== void 0 ? _p : ((f) => f),
|
|
346
348
|
audioLatencyHint: (_q = actualArgs.audioLatencyHint) !== null && _q !== void 0 ? _q : null,
|
|
347
349
|
experimentalClientSideRenderingEnabled: (_r = actualArgs.experimentalClientSideRenderingEnabled) !== null && _r !== void 0 ? _r : false,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
renderDefaults: (_s = actualArgs.renderDefaults) !== null && _s !== void 0 ? _s : null,
|
|
351
|
+
askAIEnabled: (_t = actualArgs.askAIEnabled) !== null && _t !== void 0 ? _t : true,
|
|
352
|
+
keyboardShortcutsEnabled: (_u = actualArgs.keyboardShortcutsEnabled) !== null && _u !== void 0 ? _u : true,
|
|
353
|
+
rspack: (_v = actualArgs.rspack) !== null && _v !== void 0 ? _v : false,
|
|
354
|
+
symlinkPublicDir: (_w = actualArgs.symlinkPublicDir) !== null && _w !== void 0 ? _w : false,
|
|
353
355
|
});
|
|
354
356
|
return result;
|
|
355
357
|
}
|
|
@@ -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'),
|
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,10 +3,9 @@
|
|
|
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.462",
|
|
7
7
|
"description": "Bundle Remotion compositions using Webpack",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
|
-
"sideEffects": false,
|
|
10
9
|
"bugs": {
|
|
11
10
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
12
11
|
},
|
|
@@ -25,14 +24,14 @@
|
|
|
25
24
|
"loader-utils": "2.0.4",
|
|
26
25
|
"postcss": "8.5.10",
|
|
27
26
|
"postcss-value-parser": "4.2.0",
|
|
28
|
-
"esbuild": "0.
|
|
27
|
+
"esbuild": "0.28.0",
|
|
29
28
|
"react-refresh": "0.18.0",
|
|
30
|
-
"remotion": "4.0.
|
|
31
|
-
"@remotion/studio": "4.0.
|
|
32
|
-
"@remotion/studio-shared": "4.0.
|
|
33
|
-
"@remotion/
|
|
29
|
+
"remotion": "4.0.462",
|
|
30
|
+
"@remotion/studio": "4.0.462",
|
|
31
|
+
"@remotion/studio-shared": "4.0.462",
|
|
32
|
+
"@remotion/timeline-utils": "4.0.462",
|
|
33
|
+
"@remotion/media-parser": "4.0.462",
|
|
34
34
|
"style-loader": "4.0.0",
|
|
35
|
-
"source-map": "0.7.3",
|
|
36
35
|
"webpack": "5.105.0"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"react": "19.2.3",
|
|
44
43
|
"react-dom": "19.2.3",
|
|
45
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
44
|
+
"@remotion/eslint-config-internal": "4.0.462",
|
|
46
45
|
"eslint": "9.19.0",
|
|
47
46
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
48
47
|
},
|