diff options
| author | Owen Jacobson <owen.jacobson@grimoire.ca> | 2016-07-15 22:49:47 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen.jacobson@grimoire.ca> | 2016-07-15 22:49:47 -0400 |
| commit | 0094ff4940a9beba908a96aca2b203185691d180 (patch) | |
| tree | 4befd867ffece4c1f789f425700816660ada1c66 /wiki | |
| parent | 30dccabc067d42835e89be29bf10d8cef8558941 (diff) | |
A note about recordsPath, care of @TheLarkInn
Diffstat (limited to 'wiki')
| -rw-r--r-- | wiki/dev/webpack.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki/dev/webpack.md b/wiki/dev/webpack.md index 9127ee0..003152d 100644 --- a/wiki/dev/webpack.md +++ b/wiki/dev/webpack.md @@ -231,6 +231,6 @@ Things yet to do: * Webpack 2's “Tree Shaking” mode exploits the static nature of ES2015 `import` statements to fully eliminate unused symbols from ES2105-style modules. This could potentially cut out a lot of the code in the `vendor` bundle. -* Unit tests! I've actually got a config for this, which I need to integrate into my starter project and document. +* [Sean Larkin](https://twitter.com/TheLarkInn) suggests setting `recordsPath` at the top level of the Webpack config object to pin chunk IDs between runs. This works! Unfortunately, some plugins cause the records file to grow every time you run `webpack`, regardless of any changes to the output. This is, obviously, not great. * A quick primer on React server-side rendering. I know this is a Webpack primer, and not a React primer, but React-in-the-wild often relies on Webpack. |
