Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Speed up webpack bundle builds
Browse files Browse the repository at this point in the history
This is the equivalent of:

facebook/relay@f7f6c10

Speeds up the first-build from 12s to 4s on my machine.
  • Loading branch information
wincent committed Sep 30, 2015
1 parent 25b06c9 commit 72d23a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ var compiler = webpack({
module: {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel',
query: {stage: 0, plugins: ['./build/babelRelayPlugin']}
query: {stage: 0, plugins: ['./build/babelRelayPlugin']},
test: /\.js$/,
}
]
},
Expand Down

0 comments on commit 72d23a9

Please sign in to comment.