@remotion/babel-loader 4.0.500 → 4.0.501
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/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { BundlerConfiguration } from '@remotion/bundler';
|
|
2
|
+
export declare const replaceLoadersWithBabel: <Configuration extends BundlerConfiguration>(conf: Configuration) => Configuration;
|
package/dist/index.js
CHANGED
|
@@ -26,6 +26,7 @@ const replaceLoadersWithBabel = (conf) => {
|
|
|
26
26
|
}
|
|
27
27
|
// All modules that use require.resolve need to be added to cli/src/load-config -> external array
|
|
28
28
|
if (rule && ((_a = rule.test) === null || _a === void 0 ? void 0 : _a.toString().includes('.tsx'))) {
|
|
29
|
+
const existingUse = Array.isArray(rule.use) ? rule.use : [];
|
|
29
30
|
return {
|
|
30
31
|
test: /\.tsx?$/,
|
|
31
32
|
use: [
|
|
@@ -56,7 +57,7 @@ const replaceLoadersWithBabel = (conf) => {
|
|
|
56
57
|
].filter(truthy),
|
|
57
58
|
},
|
|
58
59
|
},
|
|
59
|
-
|
|
60
|
+
existingUse[1],
|
|
60
61
|
].filter(truthy),
|
|
61
62
|
};
|
|
62
63
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/babel-loader"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/babel-loader",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.501",
|
|
7
7
|
"description": "Babel loader for Remotion",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"webpack": "5.105.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@remotion/bundler": "4.0.
|
|
35
|
-
"remotion": "4.0.
|
|
36
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
34
|
+
"@remotion/bundler": "4.0.501",
|
|
35
|
+
"remotion": "4.0.501",
|
|
36
|
+
"@remotion/eslint-config-internal": "4.0.501",
|
|
37
37
|
"eslint": "9.19.0",
|
|
38
38
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@remotion/bundler": "4.0.
|
|
41
|
+
"@remotion/bundler": "4.0.501"
|
|
42
42
|
},
|
|
43
43
|
"keywords": [
|
|
44
44
|
"remotion",
|