Skip to content

Commit e29505d

Browse files
committed
[examples] Run webpack in dev mode
1 parent 71bd568 commit e29505d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

example-hooks/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ graphQLServer.listen(GRAPHQL_PORT, () => console.log(
3030

3131
// Serve the Relay app
3232
const compiler = webpack({
33+
mode: 'development',
3334
entry: ['whatwg-fetch', path.resolve(__dirname, 'ts', 'app.tsx')],
3435
resolve: {
3536
extensions: ['.ts', '.tsx', '.js'],

example/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ graphQLServer.listen(GRAPHQL_PORT, () => console.log(
3030

3131
// Serve the Relay app
3232
const compiler = webpack({
33+
mode: 'development',
3334
entry: ['whatwg-fetch', path.resolve(__dirname, 'ts', 'app.tsx')],
3435
resolve: {
3536
extensions: ['.ts', '.tsx', '.js'],

0 commit comments

Comments
 (0)