Skip to content

Commit d0c79a5

Browse files
committed
3.0.5
1 parent c34f536 commit d0c79a5

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ entry point for Node.js as demonstrated below:
5050
},
5151
{
5252
- "react-scripts": "^1.1.1"
53-
+ "react-app-tools": "^3.0.3"
53+
+ "react-app-tools": "^3.0.5"
5454
},
5555
"scripts": {
5656
- "start": "react-scripts start",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-app",
3-
"version": "3.0.3",
3+
"version": "3.0.5",
44
"private": true,
55
"workspaces": [
66
"packages/*"

packages/react-app-tools/config/babel.dependencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function(api, opts) {
2323
var isEnvTest = env === 'test';
2424
if (!isEnvDevelopment && !isEnvProduction && !isEnvTest) {
2525
throw new Error(
26-
'Using `babel-preset-react-app` requires that you specify `NODE_ENV` or ' +
26+
'Using `react-app-tools/config/babel` requires that you specify `NODE_ENV` or ' +
2727
'`BABEL_ENV` environment variables. Valid values are "development", ' +
2828
'"test", and "production". Instead, received: ' +
2929
JSON.stringify(env) +

packages/react-app-tools/config/babel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ module.exports = function(api, opts) {
5454
{
5555
targets: {
5656
node: '8.11',
57+
browsers: [],
5758
},
5859
},
5960
],

packages/react-app-tools/config/jest/babelTransform.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,5 @@
1111
const babelJest = require('babel-jest');
1212

1313
module.exports = babelJest.createTransformer({
14-
presets: [require.resolve('babel-preset-react-app')],
15-
// @remove-on-eject-begin
16-
babelrc: false,
17-
// @remove-on-eject-end
14+
presets: [require.resolve('../babel')],
1815
});

packages/react-app-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-app-tools",
3-
"version": "3.0.3",
3+
"version": "3.0.5",
44
"description": "Build and test tooling for web application development with Node.js and React.",
55
"repository": "kriasoft/react-app",
66
"author": "Kriasoft <[email protected]> (https://www.kriasoft.com)",

0 commit comments

Comments
 (0)