@remotion/bundler 3.3.56 → 3.3.59

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
@@ -43,7 +43,7 @@ const prepareOutDir = async (specified) => {
43
43
  await fs_1.default.promises.mkdir(specified, { recursive: true });
44
44
  return specified;
45
45
  }
46
- return fs_1.default.promises.mkdtemp(path_1.default.join(os_1.default.tmpdir(), 'react-motion-graphics'));
46
+ return fs_1.default.promises.mkdtemp(path_1.default.join(os_1.default.tmpdir(), 'remotion-webpack-bundle-'));
47
47
  };
48
48
  const trimLeadingSlash = (p) => {
49
49
  if (p.startsWith('/')) {
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare const BundlerInternals: {
6
6
  webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, envVariables, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }: {
7
7
  entry: string;
8
8
  userDefinedComponent: string;
9
- outDir: string;
9
+ outDir: string | null;
10
10
  environment: "development" | "production";
11
11
  webpackOverride: WebpackOverrideFn;
12
12
  onProgress?: ((f: number) => void) | undefined;
@@ -2,7 +2,7 @@ import type { WebpackConfiguration, WebpackOverrideFn } from './types';
2
2
  export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, envVariables, maxTimelineTracks, entryPoints, remotionRoot, keyboardShortcutsEnabled, poll, }: {
3
3
  entry: string;
4
4
  userDefinedComponent: string;
5
- outDir: string;
5
+ outDir: string | null;
6
6
  environment: 'development' | 'production';
7
7
  webpackOverride: WebpackOverrideFn;
8
8
  onProgress?: ((f: number) => void) | undefined;
@@ -184,7 +184,7 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
184
184
  : false,
185
185
  output: {
186
186
  ...conf.output,
187
- path: outDir,
187
+ ...(outDir ? { path: outDir } : {}),
188
188
  },
189
189
  context: remotionRoot,
190
190
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "3.3.56",
3
+ "version": "3.3.59",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -26,7 +26,7 @@
26
26
  "css-loader": "5.2.7",
27
27
  "esbuild": "0.16.12",
28
28
  "react-refresh": "0.9.0",
29
- "remotion": "3.3.56",
29
+ "remotion": "3.3.59",
30
30
  "style-loader": "2.0.0",
31
31
  "webpack": "5.74.0"
32
32
  },
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "40e96323b08717213c20fffcce8a985f0310f6e5"
67
+ "gitHead": "4ee88b056704d7224838a8fbc32d2d3522c5afbe"
68
68
  }