We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0645f64 commit 1d20769Copy full SHA for 1d20769
packages/reporters/dev-server/src/Server.js
@@ -404,7 +404,7 @@ export default class Server {
404
*/
405
async applyProxyTable(app: any): Promise<Server> {
406
// avoid skipping project root
407
- const fileInRoot: string = path.join(this.options.projectRoot, '_');
+ const fileInRoot: string = path.join(this.options.projectRoot, 'index');
408
409
const configFilePath = await resolveConfig(
410
this.options.inputFS,
@@ -434,7 +434,7 @@ export default class Server {
434
// let cfg = (await import(configFilePath)).default;
435
let cfg = await this.options.packageManager.require(
436
configFilePath,
437
- this.options.projectRoot,
+ fileInRoot,
438
);
439
if (
440
// $FlowFixMe
0 commit comments