@remotion/babel-loader 4.0.205 → 4.0.207

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ const replaceLoadersWithBabel = (conf) => {
24
24
  return rule;
25
25
  }
26
26
  // All modules that use require.resolve need to be added to cli/src/load-config -> external array
27
- if ((_a = rule.test) === null || _a === void 0 ? void 0 : _a.toString().includes('.tsx')) {
27
+ if (rule && ((_a = rule.test) === null || _a === void 0 ? void 0 : _a.toString().includes('.tsx'))) {
28
28
  return {
29
29
  test: /\.tsx?$/,
30
30
  use: [
@@ -59,7 +59,7 @@ const replaceLoadersWithBabel = (conf) => {
59
59
  ].filter(truthy),
60
60
  };
61
61
  }
62
- if ((_b = rule.test) === null || _b === void 0 ? void 0 : _b.toString().includes('.jsx')) {
62
+ if (rule && ((_b = rule.test) === null || _b === void 0 ? void 0 : _b.toString().includes('.jsx'))) {
63
63
  return {
64
64
  test: /\.jsx?$/,
65
65
  loader: require.resolve('babel-loader'),
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.205",
6
+ "version": "4.0.207",
7
7
  "description": "Babel loader for Remotion",
8
8
  "main": "dist/index.js",
9
9
  "files": [
@@ -23,14 +23,14 @@
23
23
  "@webhotelier/webpack-fast-refresh": "5.1.0",
24
24
  "babel-loader": "8.2.2",
25
25
  "react-refresh": "0.9.0",
26
- "webpack": "5.83.1"
26
+ "webpack": "5.94.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@remotion/bundler": "4.0.205",
30
- "remotion": "4.0.205"
29
+ "@remotion/bundler": "4.0.207",
30
+ "remotion": "4.0.207"
31
31
  },
32
32
  "peerDependencies": {
33
- "@remotion/bundler": "4.0.205"
33
+ "@remotion/bundler": "4.0.207"
34
34
  },
35
35
  "keywords": [
36
36
  "remotion",