@remotion/bundler 4.0.486 → 4.0.488
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 -0
- package/dist/bundle.js +7 -5
- package/dist/index.d.ts +4 -2
- package/dist/rspack-config.d.ts +2 -1
- package/dist/rspack-config.js +2 -1
- package/dist/webpack-config.d.ts +2 -1
- package/dist/webpack-config.js +2 -1
- package/package.json +7 -7
package/dist/bundle.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type MandatoryLegacyBundleOptions = {
|
|
|
12
12
|
onSymlinkDetected: (path: string) => void;
|
|
13
13
|
keyboardShortcutsEnabled: boolean;
|
|
14
14
|
askAIEnabled: boolean;
|
|
15
|
+
interactivityEnabled: boolean;
|
|
15
16
|
rspack: boolean;
|
|
16
17
|
/**
|
|
17
18
|
* If true, the public directory is symlinked into the bundle output instead of copied.
|
package/dist/bundle.js
CHANGED
|
@@ -87,7 +87,7 @@ const trimTrailingSlash = (p) => {
|
|
|
87
87
|
return p;
|
|
88
88
|
};
|
|
89
89
|
const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled, }) => {
|
|
90
|
-
var _a, _b, _c, _d;
|
|
90
|
+
var _a, _b, _c, _d, _e;
|
|
91
91
|
const configArgs = {
|
|
92
92
|
entry: node_path_1.default.join(require.resolve('@remotion/studio/renderEntry'), '..', 'esm', 'renderEntry.mjs'),
|
|
93
93
|
userDefinedComponent: entryPoint,
|
|
@@ -105,6 +105,7 @@ const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, optio
|
|
|
105
105
|
poll: null,
|
|
106
106
|
experimentalClientSideRenderingEnabled,
|
|
107
107
|
askAIEnabled: (_d = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _d !== void 0 ? _d : true,
|
|
108
|
+
interactivityEnabled: (_e = options === null || options === void 0 ? void 0 : options.interactivityEnabled) !== null && _e !== void 0 ? _e : true,
|
|
108
109
|
extraPlugins: [],
|
|
109
110
|
};
|
|
110
111
|
if (options.rspack) {
|
|
@@ -328,7 +329,7 @@ exports.internalBundle = internalBundle;
|
|
|
328
329
|
* @see [Documentation](https://remotion.dev/docs/bundle)
|
|
329
330
|
*/
|
|
330
331
|
async function bundle(...args) {
|
|
331
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
332
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
332
333
|
const actualArgs = convertArgumentsIntoOptions(args);
|
|
333
334
|
const result = await (0, exports.internalBundle)({
|
|
334
335
|
bufferStateDelayInMilliseconds: (_a = actualArgs.bufferStateDelayInMilliseconds) !== null && _a !== void 0 ? _a : null,
|
|
@@ -350,9 +351,10 @@ async function bundle(...args) {
|
|
|
350
351
|
experimentalClientSideRenderingEnabled: (_r = actualArgs.experimentalClientSideRenderingEnabled) !== null && _r !== void 0 ? _r : false,
|
|
351
352
|
renderDefaults: (_s = actualArgs.renderDefaults) !== null && _s !== void 0 ? _s : null,
|
|
352
353
|
askAIEnabled: (_t = actualArgs.askAIEnabled) !== null && _t !== void 0 ? _t : true,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
interactivityEnabled: (_u = actualArgs.interactivityEnabled) !== null && _u !== void 0 ? _u : true,
|
|
355
|
+
keyboardShortcutsEnabled: (_v = actualArgs.keyboardShortcutsEnabled) !== null && _v !== void 0 ? _v : true,
|
|
356
|
+
rspack: (_w = actualArgs.rspack) !== null && _w !== void 0 ? _w : false,
|
|
357
|
+
symlinkPublicDir: (_x = actualArgs.symlinkPublicDir) !== null && _x !== void 0 ? _x : false,
|
|
356
358
|
});
|
|
357
359
|
return result;
|
|
358
360
|
}
|
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, askAIEnabled, extraPlugins, }: {
|
|
6
|
+
webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, interactivityEnabled, extraPlugins, }: {
|
|
7
7
|
entry: string;
|
|
8
8
|
userDefinedComponent: string;
|
|
9
9
|
outDir: string | null;
|
|
@@ -17,10 +17,11 @@ export declare const BundlerInternals: {
|
|
|
17
17
|
remotionRoot: string;
|
|
18
18
|
poll: number | null;
|
|
19
19
|
askAIEnabled: boolean;
|
|
20
|
+
interactivityEnabled: boolean;
|
|
20
21
|
experimentalClientSideRenderingEnabled: boolean;
|
|
21
22
|
extraPlugins: webpack.WebpackPluginInstance[];
|
|
22
23
|
}) => Promise<[string, webpack.Configuration]>;
|
|
23
|
-
rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }: {
|
|
24
|
+
rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, interactivityEnabled, extraPlugins, }: {
|
|
24
25
|
entry: string;
|
|
25
26
|
userDefinedComponent: string;
|
|
26
27
|
outDir: string | null;
|
|
@@ -34,6 +35,7 @@ export declare const BundlerInternals: {
|
|
|
34
35
|
remotionRoot: string;
|
|
35
36
|
poll: number | null;
|
|
36
37
|
askAIEnabled: boolean;
|
|
38
|
+
interactivityEnabled: boolean;
|
|
37
39
|
experimentalClientSideRenderingEnabled: boolean;
|
|
38
40
|
extraPlugins: any[];
|
|
39
41
|
}) => Promise<[string, import("@rspack/core").RspackOptions]>;
|
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, askAIEnabled, extraPlugins, }: {
|
|
4
|
+
export declare const rspackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, interactivityEnabled, extraPlugins, }: {
|
|
5
5
|
entry: string;
|
|
6
6
|
userDefinedComponent: string;
|
|
7
7
|
outDir: string | null;
|
|
@@ -15,6 +15,7 @@ export declare const rspackConfig: ({ entry, userDefinedComponent, outDir, envir
|
|
|
15
15
|
remotionRoot: string;
|
|
16
16
|
poll: number | null;
|
|
17
17
|
askAIEnabled: boolean;
|
|
18
|
+
interactivityEnabled: boolean;
|
|
18
19
|
experimentalClientSideRenderingEnabled: boolean;
|
|
19
20
|
extraPlugins: any[];
|
|
20
21
|
}) => Promise<[string, import("@rspack/core").RspackOptions]>;
|
package/dist/rspack-config.js
CHANGED
|
@@ -9,11 +9,12 @@ const core_1 = require("@rspack/core");
|
|
|
9
9
|
const plugin_react_refresh_1 = __importDefault(require("@rspack/plugin-react-refresh"));
|
|
10
10
|
const define_plugin_definitions_1 = require("./define-plugin-definitions");
|
|
11
11
|
const shared_bundler_config_1 = require("./shared-bundler-config");
|
|
12
|
-
const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }) => {
|
|
12
|
+
const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, interactivityEnabled, extraPlugins, }) => {
|
|
13
13
|
let lastProgress = 0;
|
|
14
14
|
const define = new core_1.DefinePlugin((0, define_plugin_definitions_1.getDefinePluginDefinitions)({
|
|
15
15
|
maxTimelineTracks,
|
|
16
16
|
askAIEnabled,
|
|
17
|
+
interactivityEnabled,
|
|
17
18
|
keyboardShortcutsEnabled,
|
|
18
19
|
bufferStateDelayInMilliseconds,
|
|
19
20
|
experimentalClientSideRenderingEnabled,
|
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, askAIEnabled, extraPlugins, }: {
|
|
5
|
+
export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, interactivityEnabled, extraPlugins, }: {
|
|
6
6
|
entry: string;
|
|
7
7
|
userDefinedComponent: string;
|
|
8
8
|
outDir: string | null;
|
|
@@ -16,6 +16,7 @@ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, envi
|
|
|
16
16
|
remotionRoot: string;
|
|
17
17
|
poll: number | null;
|
|
18
18
|
askAIEnabled: boolean;
|
|
19
|
+
interactivityEnabled: boolean;
|
|
19
20
|
experimentalClientSideRenderingEnabled: boolean;
|
|
20
21
|
extraPlugins: webpack.WebpackPluginInstance[];
|
|
21
22
|
}) => Promise<[string, Configuration]>;
|
package/dist/webpack-config.js
CHANGED
|
@@ -47,7 +47,7 @@ const esbuild = require("esbuild");
|
|
|
47
47
|
function truthy(value) {
|
|
48
48
|
return Boolean(value);
|
|
49
49
|
}
|
|
50
|
-
const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, extraPlugins, }) => {
|
|
50
|
+
const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, interactivityEnabled, extraPlugins, }) => {
|
|
51
51
|
const esbuildLoaderOptions = {
|
|
52
52
|
target: 'chrome85',
|
|
53
53
|
loader: 'tsx',
|
|
@@ -58,6 +58,7 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
58
58
|
const define = new webpack_1.default.DefinePlugin((0, define_plugin_definitions_1.getDefinePluginDefinitions)({
|
|
59
59
|
maxTimelineTracks,
|
|
60
60
|
askAIEnabled,
|
|
61
|
+
interactivityEnabled,
|
|
61
62
|
keyboardShortcutsEnabled,
|
|
62
63
|
bufferStateDelayInMilliseconds,
|
|
63
64
|
experimentalClientSideRenderingEnabled,
|
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.488",
|
|
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.
|
|
28
|
-
"@remotion/studio": "4.0.
|
|
29
|
-
"@remotion/studio-shared": "4.0.
|
|
30
|
-
"@remotion/timeline-utils": "4.0.
|
|
31
|
-
"@remotion/media-parser": "4.0.
|
|
27
|
+
"remotion": "4.0.488",
|
|
28
|
+
"@remotion/studio": "4.0.488",
|
|
29
|
+
"@remotion/studio-shared": "4.0.488",
|
|
30
|
+
"@remotion/timeline-utils": "4.0.488",
|
|
31
|
+
"@remotion/media-parser": "4.0.488",
|
|
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.
|
|
42
|
+
"@remotion/eslint-config-internal": "4.0.488",
|
|
43
43
|
"eslint": "9.19.0",
|
|
44
44
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
45
45
|
},
|