made it easier to run repo locally

This commit is contained in:
Sean Macfarlane
2020-09-08 13:21:59 -04:00
parent f7681e9bd3
commit bac2f43eb0
7 changed files with 72 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ module.exports = {
favicon: './app/images/favicon.ico',
}),
new webpack.DefinePlugin({
'process.env.GRAPHQL_URL': JSON.stringify(process.env.GRAPHQL_URL),
'process.env.API': JSON.stringify(process.env.API || 'http://localhost:4000'),
}),
],
};