DLLPlugin使え
Use the DllPlugin to move code that is changed less
often into a separate compilation. This will improve
the application's compilation speed, although it does
increase complexitity of the build process.
Slide 22
Slide 22 text
Smaller = Faster
Decrease the total size of the compilation to
ncrease build performance. Try to keep chunks small.
Slide 23
Slide 23 text
thread-loader使え
The thread-loader can be used to offload expensive
loaders to a worker pool.
Slide 24
Slide 24 text
cache-loader使え
Enable persistent caching with the cache-loader.
Clear cache directory on "postinstall" in package.json.
Slide 25
Slide 25 text
node-sassは遅いぞ
node-sass has a bug which blocks threads from the
Node.js threadpool. When using it with the thread-
loader set workerParallelJobs: 2.