@remotion/bundler 4.0.314 → 4.0.315
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.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Suppress the frequent Webpack warnings about serializing large strings in the cache
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.IgnorePackFileCacheWarningsPlugin = void 0;
|
|
5
|
+
class IgnorePackFileCacheWarningsPlugin {
|
|
6
|
+
filter(error) {
|
|
7
|
+
if (error.message.includes('Serializing big strings')) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
apply(compiler) {
|
|
13
|
+
compiler.hooks.afterCompile.tap('IgnorePackFileCacheWarningsPlugin', (compilation) => {
|
|
14
|
+
compilation.warnings = compilation.warnings.filter(this.filter);
|
|
15
|
+
});
|
|
16
|
+
compiler.hooks.afterEmit.tap('IgnorePackFileCacheWarningsPlugin', (compilation) => {
|
|
17
|
+
compilation.warnings = compilation.warnings.filter(this.filter);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.IgnorePackFileCacheWarningsPlugin = IgnorePackFileCacheWarningsPlugin;
|
package/dist/webpack-config.js
CHANGED
|
@@ -45,6 +45,7 @@ const webpack_1 = __importStar(require("webpack"));
|
|
|
45
45
|
const case_sensitive_paths_1 = require("./case-sensitive-paths");
|
|
46
46
|
const fast_refresh_1 = require("./fast-refresh");
|
|
47
47
|
const hide_expression_dependency_1 = require("./hide-expression-dependency");
|
|
48
|
+
const ignore_packfilecache_warnings_1 = require("./ignore-packfilecache-warnings");
|
|
48
49
|
const optional_dependencies_1 = require("./optional-dependencies");
|
|
49
50
|
const stringify_with_circular_references_1 = require("./stringify-with-circular-references");
|
|
50
51
|
const webpack_cache_1 = require("./webpack-cache");
|
|
@@ -117,6 +118,7 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
117
118
|
define,
|
|
118
119
|
new optional_dependencies_1.AllowOptionalDependenciesPlugin(),
|
|
119
120
|
new hide_expression_dependency_1.AllowDependencyExpressionPlugin(),
|
|
121
|
+
new ignore_packfilecache_warnings_1.IgnorePackFileCacheWarningsPlugin(),
|
|
120
122
|
]
|
|
121
123
|
: [
|
|
122
124
|
new webpack_1.ProgressPlugin((p) => {
|
|
@@ -130,6 +132,7 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
130
132
|
define,
|
|
131
133
|
new optional_dependencies_1.AllowOptionalDependenciesPlugin(),
|
|
132
134
|
new hide_expression_dependency_1.AllowDependencyExpressionPlugin(),
|
|
135
|
+
new ignore_packfilecache_warnings_1.IgnorePackFileCacheWarningsPlugin(),
|
|
133
136
|
],
|
|
134
137
|
output: {
|
|
135
138
|
hashFunction: 'xxhash64',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/bundler",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.315",
|
|
7
7
|
"description": "Bundle Remotion compositions using Webpack",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"style-loader": "4.0.0",
|
|
26
26
|
"source-map": "0.7.3",
|
|
27
27
|
"webpack": "5.96.1",
|
|
28
|
-
"
|
|
29
|
-
"@remotion/studio
|
|
30
|
-
"@remotion/
|
|
31
|
-
"remotion": "4.0.
|
|
28
|
+
"remotion": "4.0.315",
|
|
29
|
+
"@remotion/studio": "4.0.315",
|
|
30
|
+
"@remotion/studio-shared": "4.0.315",
|
|
31
|
+
"@remotion/media-parser": "4.0.315"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=16.8.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "19.0.0",
|
|
39
39
|
"react-dom": "19.0.0",
|
|
40
40
|
"eslint": "9.19.0",
|
|
41
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
41
|
+
"@remotion/eslint-config-internal": "4.0.315"
|
|
42
42
|
},
|
|
43
43
|
"keywords": [
|
|
44
44
|
"remotion",
|