Skip to content

Commit c13f7f4

Browse files
committed
Style tweaks
1 parent cd815aa commit c13f7f4

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

Diff for: scripts/eject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
var createJestConfig = require('./utils/create-jest-config');
10+
var createJestConfig = require('./utils/createJestConfig');
1111
var fs = require('fs');
1212
var path = require('path');
1313
var prompt = require('./utils/prompt');

Diff for: scripts/start.js

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ function addMiddleware(devServer) {
187187
// - /index.html (served as HTML5 history API fallback)
188188
// - /*.hot-update.json (WebpackDevServer uses this too for hot reloading)
189189
// - /sockjs-node/* (WebpackDevServer uses this for hot reloading)
190+
// Tip: use https://www.debuggex.com/ to visualize the regex
190191
var mayProxy = /^(?!\/(index\.html$|.*\.hot-update\.json$|sockjs-node\/)).*$/;
191192
devServer.use(mayProxy,
192193
// Pass the scope regex both to Express and to the middleware for proxying

Diff for: scripts/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
process.env.NODE_ENV = 'test';
1111

12-
const createJestConfig = require('./utils/create-jest-config');
12+
const createJestConfig = require('./utils/createJestConfig');
1313
const jest = require('jest');
1414
const path = require('path');
1515
const paths = require('../config/paths');
File renamed without changes.

0 commit comments

Comments
 (0)