Skip to content

Commit

Permalink
fix(snackager): revert newer react-native babel preset
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Feb 12, 2024
1 parent 699026b commit 37931b3
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 315 deletions.
2 changes: 1 addition & 1 deletion snackager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"lodash": "^4.17.11",
"md5": "^2.2.1",
"memory-fs": "^0.4.1",
"@react-native/babel-preset": "^0.73.19",
"metro-react-native-babel-preset": "^0.76.8",
"node-fetch": "^2.6.0",
"picomatch": "^4.0.1",
"querystring": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion snackager/src/bundler/makeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default ({
presets: [
require.resolve('@babel/preset-typescript'),
[
require.resolve('@react-native/babel-preset'),
require.resolve('metro-react-native-babel-preset'),
{
// Disable the implicit plugin-transform-runtime and add ourselves in the plugins list
enableBabelRuntime: false,
Expand Down
Loading

0 comments on commit 37931b3

Please sign in to comment.