@remotion/bundler 3.2.44 → 3.3.1

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.
Files changed (2) hide show
  1. package/dist/bundle.js +3 -2
  2. package/package.json +3 -3
package/dist/bundle.js CHANGED
@@ -87,7 +87,8 @@ const findClosestPackageJsonFolder = (currentDir) => {
87
87
  async function bundle(...args) {
88
88
  var _a, _b, _c, _d;
89
89
  const actualArgs = convertArgumentsIntoOptions(args);
90
- const resolvedRemotionRoot = (_b = (_a = actualArgs === null || actualArgs === void 0 ? void 0 : actualArgs.rootDir) !== null && _a !== void 0 ? _a : findClosestPackageJsonFolder(actualArgs.entryPoint)) !== null && _b !== void 0 ? _b : process.cwd();
90
+ const entryPoint = path_1.default.resolve(process.cwd(), actualArgs.entryPoint);
91
+ const resolvedRemotionRoot = (_b = (_a = actualArgs === null || actualArgs === void 0 ? void 0 : actualArgs.rootDir) !== null && _a !== void 0 ? _a : findClosestPackageJsonFolder(entryPoint)) !== null && _b !== void 0 ? _b : process.cwd();
91
92
  const outDir = await prepareOutDir((_c = actualArgs === null || actualArgs === void 0 ? void 0 : actualArgs.outDir) !== null && _c !== void 0 ? _c : null);
92
93
  // The config might use an override which might use
93
94
  // `process.cwd()`. The context should always be the Remotion root.
@@ -96,7 +97,7 @@ async function bundle(...args) {
96
97
  if (worker_threads_1.isMainThread) {
97
98
  process.chdir(resolvedRemotionRoot);
98
99
  }
99
- const { entryPoint, onProgress, ...options } = actualArgs;
100
+ const { onProgress, ...options } = actualArgs;
100
101
  const [, config] = (0, exports.getConfig)({
101
102
  outDir,
102
103
  entryPoint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "3.2.44",
3
+ "version": "3.3.1",
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.15.13",
28
28
  "react-refresh": "0.9.0",
29
- "remotion": "3.2.44",
29
+ "remotion": "3.3.1",
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": "443b4b387b78905e747ebe69b3b91ee85966796d"
67
+ "gitHead": "f56a29f8ab19e279e1a9950d3a3ccbb3c8ae42e0"
68
68
  }