File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,15 @@ version of Babel's [latest preset][]:
3939import ' fluent-react/compat' ;
4040```
4141
42- In some cases, using the ` compat ` build may be needed even if you target modern
43- browsers. For instance, the ` create-react-app ` boilerplate uses UglifyJS to
44- minify its files. As of April 2017, UglifyJS doesn't support some of the new
45- JavaScript syntax features. By using the ` compat ` build of all ` fluent `
46- packages you can ensure that the minifiction works properly.
42+ In some cases, using the ` compat ` build may be needed even if you target
43+ modern browsers. For instance, the [ ` create-react-app ` boilerplate uses
44+ UglifyJS to minify its files] [ create-react-app-minify ] . As of November 2017,
45+ UglifyJS doesn't support some of the new JavaScript syntax features. By using
46+ the ` compat ` build of all ` fluent ` packages you can ensure that the
47+ minifiction works properly.
48+
49+
50+ [ create-react-app-minify ] : https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
4751
4852
4953## Learn more
Original file line number Diff line number Diff line change @@ -5,3 +5,7 @@ These tiny React apps demonstrate how `fluent-react` can integrate with React.
55 cd hello-world
66 npm install
77 npm start
8+
9+ All examples link to the local ES2015+ ` fluent ` modules as dependencies. They
10+ are resolved via the ` module ` field of their ` package.json ` files and thus do
11+ not require to be built nor transpiled beforehand.
You can’t perform that action at this time.
0 commit comments