mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 11:36:53 +02:00
chore(v2): Adopt corejs 3 and only import at entry point (#3055)
This commit is contained in:
parent
f947036595
commit
7660005db8
4 changed files with 13 additions and 4 deletions
|
@ -25,8 +25,8 @@ function getSWBabelLoader() {
|
|||
[
|
||||
require.resolve('@babel/preset-env'),
|
||||
{
|
||||
useBuiltIns: 'usage',
|
||||
corejs: '2',
|
||||
useBuiltIns: 'entry',
|
||||
corejs: '3',
|
||||
// See https://twitter.com/jeffposnick/status/1280223070876315649
|
||||
targets: 'chrome >= 56',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue