Skip to content

Commit

Permalink
Merge pull request #10668 from camptocamp/fix-build-28
Browse files Browse the repository at this point in the history
Use a working babel/preset-env configuration
  • Loading branch information
sbrunner authored Sep 14, 2023
2 parents 483be76 + 4d97b3e commit abf7c0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ const babelPresets = [
[
require.resolve('@babel/preset-env'),
{
targets: {
browsers: ['> 0.7% in CH', '> 0.7% in FR', 'Firefox ESR'],
},
targets: 'defaults, > 0.1% in CH, > 0.1% in FR, Firefox ESR and supports es6-class and not iOS < 10',
modules: false,
loose: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ const babelPresets = [
[
require.resolve('@babel/preset-env'),
{
targets: {
browsers: ['defaults', '> 0.7% in CH', '> 0.9% in FR', 'Firefox ESR', 'supports es6-class'],
},
targets: 'defaults, > 0.1% in CH, > 0.1% in FR, Firefox ESR and supports es6-class and not iOS < 10',
modules: false,
loose: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const config = commons({
DllReferencePluginOptions: {
context: '/usr/lib/',
},
browsers: 'defaults, > 0.1% in CH, > 0.1% in FR, Firefox ESR and supports es6-class and not iOS < 10',
});

for (const plugin of config.plugins) {
Expand Down

0 comments on commit abf7c0f

Please sign in to comment.