Skip to content

Commit

Permalink
fix(babel-client): target browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Звягин Данила Сергеевич authored and Звягин Данила Сергеевич committed Sep 19, 2024
1 parent ff3e5b7 commit a4ea53d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/ten-wasps-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arui-scripts': minor
---

Исправление передачи таргет браузеров в babel-client
2 changes: 1 addition & 1 deletion packages/arui-scripts/src/configs/babel-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const babelClientConfig = applyOverrides(['babel', 'babelClient'], {
[
require.resolve('@babel/preset-env'),
{
targets: { browsers },
targets: browsers,
loose: true,
// Allow importing core-js in entrypoint and use browserlist to select polyfills
useBuiltIns: 'entry',
Expand Down

0 comments on commit a4ea53d

Please sign in to comment.