Skip to content

Commit

Permalink
tweak relay config and move files to correct directories
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed Feb 28, 2022
1 parent 01b4a36 commit d4149a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start": "npm run relay && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion client/relay.config.js → relay.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
// ...
// Configuration options accepted by the `relay-compiler` command-line tool and `babel-plugin-relay`.
src: "./src",
schema: "./data/schema.graphql",
schema: "./schema.graphql",
exclude: ["**/node_modules/**", "**/__mocks__/**", "**/__generated__/**"],
}

0 comments on commit d4149a8

Please sign in to comment.