@remotion/bundler 3.2.44 → 3.3.0
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 +3 -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
|
|
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 {
|
|
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.
|
|
3
|
+
"version": "3.3.0",
|
|
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.
|
|
29
|
+
"remotion": "3.3.0",
|
|
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": "
|
|
67
|
+
"gitHead": "29322c95729df0229eecc5f674d019145a783b46"
|
|
68
68
|
}
|