@remotion/cli 4.0.228 → 4.0.229
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/config/override-webpack.js +2 -29
- package/package.json +14 -14
|
@@ -8,35 +8,8 @@ const getWebpackOverrideFn = () => {
|
|
|
8
8
|
return overrideFn;
|
|
9
9
|
};
|
|
10
10
|
exports.getWebpackOverrideFn = getWebpackOverrideFn;
|
|
11
|
-
// to warn the user if overrideWebpackConfig is invoked more than once
|
|
12
|
-
let invocations = 0;
|
|
13
11
|
const overrideWebpackConfig = (fn) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
'You specified the Config.overrideWebpackConfig() multiple times, which is not supported.',
|
|
17
|
-
'Combine all Webpack overrides into a single one.',
|
|
18
|
-
'You can curry multiple overrides:',
|
|
19
|
-
'',
|
|
20
|
-
'Instead of:',
|
|
21
|
-
'',
|
|
22
|
-
' Config.overrideWebpackConfig((currentConfiguration) => {',
|
|
23
|
-
' return enableScss(currentConfiguration);',
|
|
24
|
-
' });',
|
|
25
|
-
' Config.overrideWebpackConfig((currentConfiguration) => {',
|
|
26
|
-
' return enableTailwind(currentConfiguration);',
|
|
27
|
-
' });',
|
|
28
|
-
'',
|
|
29
|
-
'Do this:',
|
|
30
|
-
'',
|
|
31
|
-
' Config.overrideWebpackConfig((currentConfiguration) => {',
|
|
32
|
-
' return enableScss(enableTailwind(currentConfiguration));',
|
|
33
|
-
' });',
|
|
34
|
-
'',
|
|
35
|
-
'Read more: https://www.remotion.dev/docs/config#overridewebpackconfig',
|
|
36
|
-
];
|
|
37
|
-
throw new Error(err.join('\n'));
|
|
38
|
-
}
|
|
39
|
-
invocations++;
|
|
40
|
-
overrideFn = fn;
|
|
12
|
+
const prevOverride = overrideFn;
|
|
13
|
+
overrideFn = async (c) => fn(await prevOverride(c));
|
|
41
14
|
};
|
|
42
15
|
exports.overrideWebpackConfig = overrideWebpackConfig;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cli"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/cli",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.229",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"dotenv": "9.0.2",
|
|
34
34
|
"minimist": "1.2.6",
|
|
35
35
|
"prompts": "2.4.2",
|
|
36
|
-
"@remotion/bundler": "4.0.
|
|
37
|
-
"@remotion/
|
|
38
|
-
"@remotion/
|
|
39
|
-
"@remotion/
|
|
40
|
-
"@remotion/studio-
|
|
41
|
-
"remotion": "4.0.
|
|
42
|
-
"@remotion/
|
|
43
|
-
"@remotion/studio": "4.0.
|
|
36
|
+
"@remotion/bundler": "4.0.229",
|
|
37
|
+
"@remotion/player": "4.0.229",
|
|
38
|
+
"@remotion/renderer": "4.0.229",
|
|
39
|
+
"@remotion/media-utils": "4.0.229",
|
|
40
|
+
"@remotion/studio-shared": "4.0.229",
|
|
41
|
+
"remotion": "4.0.229",
|
|
42
|
+
"@remotion/studio": "4.0.229",
|
|
43
|
+
"@remotion/studio-server": "4.0.229"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=16.8.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"react-dom": "18.3.1",
|
|
55
55
|
"zod": "3.22.3",
|
|
56
56
|
"eslint": "9.14.0",
|
|
57
|
-
"@remotion/
|
|
58
|
-
"@remotion/
|
|
59
|
-
"@remotion/
|
|
60
|
-
"@remotion/
|
|
61
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
57
|
+
"@remotion/enable-scss": "4.0.229",
|
|
58
|
+
"@remotion/skia": "4.0.229",
|
|
59
|
+
"@remotion/zod-types": "4.0.229",
|
|
60
|
+
"@remotion/tailwind": "4.0.229",
|
|
61
|
+
"@remotion/eslint-config-internal": "4.0.229"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"remotion",
|