Skip to content

Commit

Permalink
chore(tools): use es2019 target instead of browser matrix target (#27262
Browse files Browse the repository at this point in the history
)
  • Loading branch information
TristanWatanabe authored Mar 20, 2023
1 parent 198bc42 commit 62faffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/generators/migrate-converged-pkg/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,6 @@ describe('migrate-converged-pkg generator', () => {

expect(swcConfig).toEqual({
$schema: 'https://json.schemastore.org/swcrc',
env: { targets: { chrome: '84', edge: '84', firefox: '75', opera: '73', safari: '14.1' }, bugfixes: true },
exclude: [
'/testing',
'/**/*.cy.ts',
Expand All @@ -1125,6 +1124,7 @@ describe('migrate-converged-pkg generator', () => {
useSpread: true,
},
},
target: 'es2019',
},
minify: false,
sourceMaps: true,
Expand Down
2 changes: 1 addition & 1 deletion tools/generators/migrate-converged-pkg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ const templates = {
swcConfig: () => {
return {
$schema: 'https://json.schemastore.org/swcrc',
env: { targets: { chrome: '84', edge: '84', firefox: '75', opera: '73', safari: '14.1' }, bugfixes: true },
exclude: [
'/testing',
'/**/*.cy.ts',
Expand All @@ -420,6 +419,7 @@ const templates = {
useSpread: true,
},
},
target: 'es2019',
},
minify: false,
sourceMaps: true,
Expand Down

0 comments on commit 62faffd

Please sign in to comment.