@bryntum/babel-preset-react-app 7.1.1 → 7.1.2

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-bryntum.md CHANGED
@@ -1,5 +1,13 @@
1
+ <p align="center">
2
+ <a href="https://bryntum.com/" rel="noopener" target="_blank">
3
+ <img width="350" src="https://bryntum.com/resources/bryntum_logo_blue.svg" alt="Bryntum logo">
4
+ </a>
5
+ </p>
6
+
1
7
  # @bryntum/babel-preset-react-app
2
- This repo is part of `create-react-app` fork localed at https://github.com/bryntum/create-react-app/tree/master/packages/babel-preset-react-app.
8
+
9
+ This repo is part of `create-react-app` fork located at
10
+ https://github.com/bryntum/create-react-app/tree/master/packages/babel-preset-react-app.
3
11
 
4
12
  # Bryntum Repository access setup
5
13
 
@@ -12,7 +20,8 @@ detailed information on the sign-up/login process.
12
20
 
13
21
  Bryntum React demo applications use CRA scripts for project compilation.
14
22
  CRA by default use `@babel/plugin-transform-runtime` plugin to transpile application's *.js library dependencies.
15
- This finally affects on built React application performance which is seriously degraded when used with Bryntum library where async function generators are widely used.
23
+ This finally affects on built React application performance which is seriously degraded when used with Bryntum
24
+ library where async function generators are widely used.
16
25
 
17
26
  # Workaround
18
27
 
package/README.md CHANGED
@@ -8,11 +8,14 @@ Please refer to its documentation:
8
8
 
9
9
  ## Usage in Create React App Projects
10
10
 
11
- The easiest way to use this configuration is with [Create React App](https://github.com/facebook/create-react-app), which includes it by default. **You don’t need to install it separately in Create React App projects.**
11
+ The easiest way to use this configuration is with
12
+ [Create React App](https://github.com/facebook/create-react-app), which includes it by default.
13
+ **You don't need to install it separately in Create React App projects.**
12
14
 
13
15
  ## Usage Outside of Create React App
14
16
 
15
- If you want to use this Babel preset in a project not built with Create React App, you can install it with the following steps.
17
+ If you want to use this Babel preset in a project not built with Create React App, you can install it with the
18
+ following steps.
16
19
 
17
20
  First, [install Babel](https://babeljs.io/docs/setup/).
18
21
 
@@ -30,7 +33,10 @@ Then create a file named `.babelrc` with the following contents in the root fold
30
33
  }
31
34
  ```
32
35
 
33
- This preset uses the `useBuiltIns` option with [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/) and [transform-react-jsx](http://babeljs.io/docs/plugins/transform-react-jsx/), which assumes that `Object.assign` is available or polyfilled.
36
+ This preset uses the `useBuiltIns` option with
37
+ [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/) and
38
+ [transform-react-jsx](http://babeljs.io/docs/plugins/transform-react-jsx/), which assumes that `Object.assign`
39
+ is available or polyfilled.
34
40
 
35
41
  ## Usage with Flow
36
42
 
@@ -54,7 +60,8 @@ Make sure you have a `tsconfig.json` file at the root directory. You can also us
54
60
 
55
61
  ## Absolute Runtime Paths
56
62
 
57
- Absolute paths are enabled by default for imports. To use relative paths instead, set the `absoluteRuntime` option in `.babelrc` to `false`:
63
+ Absolute paths are enabled by default for imports. To use relative paths instead, set the `absoluteRuntime`
64
+ option in `.babelrc` to `false`:
58
65
  ```
59
66
 
60
67
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryntum/babel-preset-react-app",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Babel preset used by Create React App. Patched for Bryntum products",
5
5
  "author": {
6
6
  "name": "Bryntum",