@remotion/bundler 4.0.526 → 4.0.528
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/rspack-config.js
CHANGED
|
@@ -60,6 +60,7 @@ const rspackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
60
60
|
{ incremental: { buildChunkGraph: true } }
|
|
61
61
|
: {}),
|
|
62
62
|
},
|
|
63
|
+
ignoreWarnings: [shared_bundler_config_1.transformersImportMetaWarning],
|
|
63
64
|
node: {
|
|
64
65
|
// Suppress the warning in `source-map`
|
|
65
66
|
__dirname: 'mock',
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.computeHashAndFinalConfig = exports.getSharedModuleRules = exports.getBaseConfig = exports.getOutputConfig = exports.getResolveConfig = exports.shouldUseReactDomClient = void 0;
|
|
6
|
+
exports.computeHashAndFinalConfig = exports.getSharedModuleRules = exports.getBaseConfig = exports.getOutputConfig = exports.getResolveConfig = exports.transformersImportMetaWarning = exports.shouldUseReactDomClient = void 0;
|
|
7
7
|
const node_crypto_1 = require("node:crypto");
|
|
8
8
|
const node_path_1 = __importDefault(require("node:path"));
|
|
9
9
|
const react_dom_1 = __importDefault(require("react-dom"));
|
|
@@ -20,6 +20,11 @@ if (reactDomVersion === '0') {
|
|
|
20
20
|
exports.shouldUseReactDomClient = no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES
|
|
21
21
|
? true
|
|
22
22
|
: parseInt(reactDomVersion, 10) >= 18;
|
|
23
|
+
// Remove once https://github.com/huggingface/transformers.js/issues/1759 is resolved.
|
|
24
|
+
exports.transformersImportMetaWarning = {
|
|
25
|
+
module: /[\\/]@huggingface[\\/]transformers[\\/]dist[\\/]transformers\.web\.js$/,
|
|
26
|
+
message: /Accessing import\.meta directly is unsupported|'import\.meta' cannot be used as a standalone expression/,
|
|
27
|
+
};
|
|
23
28
|
const getResolveConfig = () => ({
|
|
24
29
|
extensions: ['.ts', '.tsx', '.web.js', '.js', '.jsx', '.mjs', '.cjs'],
|
|
25
30
|
alias: {
|
package/dist/webpack-config.js
CHANGED
|
@@ -57,6 +57,7 @@ const webpackConfig = async ({ entry, userDefinedComponent, outDir, environment,
|
|
|
57
57
|
let lastProgress = 0;
|
|
58
58
|
const baseConfig = {
|
|
59
59
|
...(0, shared_bundler_config_1.getBaseConfig)(environment, poll),
|
|
60
|
+
ignoreWarnings: [shared_bundler_config_1.transformersImportMetaWarning],
|
|
60
61
|
entry: (0, studio_entry_points_1.getStudioEntryPoints)({
|
|
61
62
|
fastRefreshRuntime: environment === 'development'
|
|
62
63
|
? require.resolve('./fast-refresh/runtime.js')
|
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.528",
|
|
7
7
|
"description": "Bundle Remotion compositions using Webpack",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bugs": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"css-loader": "7.1.4",
|
|
25
25
|
"esbuild": "0.28.1",
|
|
26
26
|
"react-refresh": "0.18.0",
|
|
27
|
-
"remotion": "4.0.
|
|
28
|
-
"@remotion/studio": "4.0.
|
|
29
|
-
"@remotion/studio-shared": "4.0.
|
|
30
|
-
"@remotion/timeline-utils": "4.0.
|
|
31
|
-
"@remotion/media-parser": "4.0.
|
|
27
|
+
"remotion": "4.0.528",
|
|
28
|
+
"@remotion/studio": "4.0.528",
|
|
29
|
+
"@remotion/studio-shared": "4.0.528",
|
|
30
|
+
"@remotion/timeline-utils": "4.0.528",
|
|
31
|
+
"@remotion/media-parser": "4.0.528",
|
|
32
32
|
"style-loader": "4.0.0",
|
|
33
33
|
"webpack": "5.105.0"
|
|
34
34
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"react": "19.2.3",
|
|
41
41
|
"react-dom": "19.2.3",
|
|
42
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
42
|
+
"@remotion/eslint-config-internal": "4.0.528",
|
|
43
43
|
"eslint": "9.19.0",
|
|
44
44
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
45
45
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getDefinePluginDefinitions } from '@remotion/studio-shared/define-plugin-definitions';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getDefinePluginDefinitions = void 0;
|
|
4
|
-
const define_plugin_definitions_1 = require("@remotion/studio-shared/define-plugin-definitions");
|
|
5
|
-
Object.defineProperty(exports, "getDefinePluginDefinitions", { enumerable: true, get: function () { return define_plugin_definitions_1.getDefinePluginDefinitions; } });
|