Skip to content

Commit

Permalink
resolve Babel preset
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm007 committed May 2, 2023
1 parent ff6a82b commit d8ce5c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-buses-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-config-seek': patch
---

Fix resolution of `@babel/preset-react`
2 changes: 1 addition & 1 deletion base.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const baseConfig = {
requireConfigFile: false,
sourceType: 'module',
babelOptions: {
presets: ['@babel/preset-react'],
presets: [require.resolve('@babel/preset-react')],
},
},
root: true,
Expand Down

0 comments on commit d8ce5c8

Please sign in to comment.