Skip to content

Commit

Permalink
Testing v8-compile-cache (gatsbyjs#3340)
Browse files Browse the repository at this point in the history
* Testing v8-compile-cache

* Update index.js
  • Loading branch information
pwener authored and jastack committed Jan 24, 2018
1 parent a9c3ab5 commit 4a2e93e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"style-loader": "^0.13.0",
"type-of": "^2.0.1",
"url-loader": "^0.5.7",
"v8-compile-cache": "^1.1.0",
"webpack": "^1.13.3",
"webpack-configurator": "^0.3.0",
"webpack-dev-middleware": "^1.8.4",
Expand Down
2 changes: 2 additions & 0 deletions packages/gatsby/src/utils/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require(`v8-compile-cache`)

import { uniq, some } from "lodash"
import fs from "fs"
import path from "path"
Expand Down

0 comments on commit 4a2e93e

Please sign in to comment.