@remotion/bundler 3.3.98 → 3.3.99

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
@@ -69,8 +69,6 @@ const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, optio
69
69
  onProgress,
70
70
  enableCaching: (_b = options === null || options === void 0 ? void 0 : options.enableCaching) !== null && _b !== void 0 ? _b : true,
71
71
  maxTimelineTracks: 15,
72
- // For production, the variables are set dynamically
73
- envVariables: {},
74
72
  entryPoints: [],
75
73
  remotionRoot: resolvedRemotionRoot,
76
74
  keyboardShortcutsEnabled: false,
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, envVariables, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }: {
5
+ webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }: {
6
6
  entry: string;
7
7
  userDefinedComponent: string;
8
8
  outDir: string | null;
@@ -10,7 +10,6 @@ export declare const BundlerInternals: {
10
10
  webpackOverride: import("remotion").WebpackOverrideFn;
11
11
  onProgress?: ((f: number) => void) | undefined;
12
12
  enableCaching?: boolean | undefined;
13
- envVariables: Record<string, string>;
14
13
  maxTimelineTracks: number;
15
14
  keyboardShortcutsEnabled: boolean;
16
15
  entryPoints: string[];
@@ -1,5 +1,5 @@
1
1
  import type { WebpackConfiguration, WebpackOverrideFn } from 'remotion';
2
- export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, envVariables, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }: {
2
+ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }: {
3
3
  entry: string;
4
4
  userDefinedComponent: string;
5
5
  outDir: string | null;
@@ -7,7 +7,6 @@ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, envi
7
7
  webpackOverride: WebpackOverrideFn;
8
8
  onProgress?: ((f: number) => void) | undefined;
9
9
  enableCaching?: boolean | undefined;
10
- envVariables: Record<string, string>;
11
10
  maxTimelineTracks: number;
12
11
  keyboardShortcutsEnabled: boolean;
13
12
  entryPoints: string[];
@@ -29,7 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.webpackConfig = void 0;
30
30
  const crypto_1 = require("crypto");
31
31
  const react_dom_1 = __importDefault(require("react-dom"));
32
- const remotion_1 = require("remotion");
33
32
  const webpack_1 = __importStar(require("webpack"));
34
33
  const fast_refresh_1 = require("./fast-refresh");
35
34
  const optional_depdendencies_1 = require("./optional-depdendencies");
@@ -52,7 +51,7 @@ const esbuildLoaderOptions = {
52
51
  function truthy(value) {
53
52
  return Boolean(value);
54
53
  }
55
- const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, envVariables, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }) => {
54
+ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpackOverride = (f) => f, onProgress, enableCaching = true, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }) => {
56
55
  const conf = webpackOverride({
57
56
  optimization: {
58
57
  minimize: false,
@@ -91,7 +90,6 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
91
90
  new webpack_1.default.DefinePlugin({
92
91
  'process.env.MAX_TIMELINE_TRACKS': maxTimelineTracks,
93
92
  'process.env.KEYBOARD_SHORTCUTS_ENABLED': keyboardShortcutsEnabled,
94
- [`process.env.${remotion_1.Internals.ENV_VARIABLES_ENV_NAME}`]: JSON.stringify(envVariables),
95
93
  }),
96
94
  new optional_depdendencies_1.AllowOptionalDependenciesPlugin(),
97
95
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "3.3.98",
3
+ "version": "3.3.99",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -20,7 +20,7 @@
20
20
  "css-loader": "5.2.7",
21
21
  "esbuild": "0.16.12",
22
22
  "react-refresh": "0.9.0",
23
- "remotion": "3.3.98",
23
+ "remotion": "3.3.99",
24
24
  "style-loader": "2.0.0",
25
25
  "webpack": "5.76.1"
26
26
  },