@financial-times/dotcom-build-js 6.0.2 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/dist/node/babel.js +1 -1
- package/package.json +1 -1
- package/src/babel.ts +1 -1
package/README.md
CHANGED
@@ -28,11 +28,10 @@ module.exports = {
|
|
28
28
|
|
29
29
|
This plugin configures [Babel](https://babeljs.io/) to compile JavaScript syntax and features that aren't supported by every browser into JavaScript that is. The browsers we target are:
|
30
30
|
|
31
|
-
* the
|
32
|
-
* the
|
31
|
+
* the latest version of Chrome
|
32
|
+
* the lastest version of Edge
|
33
33
|
* Safari 9.1
|
34
|
-
* Firefox Extended Support Release
|
35
|
-
* Internet Explorer 11
|
34
|
+
* Firefox Extended Support Release
|
36
35
|
|
37
36
|
As well as features in current JavaScript standards, we also compile these non-standard features:
|
38
37
|
|
package/dist/node/babel.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
function getBabelConfig(options = {}) {
|
4
4
|
const presetEnvOpts = {
|
5
|
-
targets: ['last
|
5
|
+
targets: ['last 1 Chrome versions', 'Safari >= 13', 'ff ESR', 'last 1 Edge versions'],
|
6
6
|
// Exclude transforms that make all code slower
|
7
7
|
// See https://github.com/facebook/create-react-app/pull/5278
|
8
8
|
exclude: ['transform-typeof-symbol']
|
package/package.json
CHANGED
package/src/babel.ts
CHANGED
@@ -2,7 +2,7 @@ import { PluginOptions } from './types'
|
|
2
2
|
|
3
3
|
function getBabelConfig(options: PluginOptions = {}) {
|
4
4
|
const presetEnvOpts = {
|
5
|
-
targets: ['last
|
5
|
+
targets: ['last 1 Chrome versions', 'Safari >= 13', 'ff ESR', 'last 1 Edge versions'],
|
6
6
|
// Exclude transforms that make all code slower
|
7
7
|
// See https://github.com/facebook/create-react-app/pull/5278
|
8
8
|
exclude: ['transform-typeof-symbol']
|