@callstack/repack-plugin-reanimated 5.4.0 → 5.4.1-canary-20261007103623

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/loader.js CHANGED
@@ -36,6 +36,7 @@ function reanimatedLoader(source) {
36
36
  }
37
37
  const babelPlugins = options.babelPlugins ?? [];
38
38
  (0, core_1.transform)(source, {
39
+ cwd: this.rootContext,
39
40
  filename: this.resourcePath,
40
41
  babelrc: false,
41
42
  configFile: false,
package/dist/rules.js CHANGED
@@ -53,7 +53,7 @@ const createReanimatedModuleRules = (majorVersion, pluginOptions = {}) => {
53
53
  loader: '@callstack/repack-plugin-reanimated/loader',
54
54
  options: {
55
55
  babelPlugins: [
56
- 'babel-plugin-syntax-hermes-parser',
56
+ '@callstack/repack/babel-plugin-syntax-react-native',
57
57
  [workletsBabelPlugin, pluginOptions],
58
58
  ],
59
59
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@callstack/repack-plugin-reanimated",
3
- "version": "5.4.0",
3
+ "version": "5.4.1-canary-20261007103623",
4
4
  "description": "A plugin for @callstack/repack that integrates react-native-reanimated",
5
5
  "author": "Jakub Romańczyk <jakub.romanczyk@callstack.com>",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@babel/core": "^7.20",
50
- "@callstack/repack": "^5.4.0"
50
+ "@callstack/repack": "^5.4.1-canary-20261007103623"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@rspack/core": "1.6.0",
@@ -55,7 +55,7 @@
55
55
  "@types/node": "^20.19.31",
56
56
  "@types/semver": "^7.7.0",
57
57
  "webpack": "~5.105.0",
58
- "@callstack/repack": "5.4.0"
58
+ "@callstack/repack": "5.4.1-canary-20261007103623"
59
59
  },
60
60
  "scripts": {
61
61
  "build": "tsc -p tsconfig.build.json",