diff --git a/README.md b/README.md index a375704..9f2b30b 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ let presets = [ 2. `targets` -To change the target of `preset-env` plugin. By default this is configured for Electron. +To change the target of `preset-env` plugin. By default this is configured for Electron 11. ```json { diff --git a/src/index.ts b/src/index.ts index df625ed..ff73078 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,10 +33,10 @@ function handleOptions(options: Options) { notStrictCommentTriggers, } = options - // use Electron 6 targets by default + // use Electron 11 targets by default if (targets === undefined) { targets = { - electron: 6, + electron: 11, } }