Skip to content

Instantly share code, notes, and snippets.

@ShinyChang
Created February 19, 2019 15:27
Show Gist options
  • Save ShinyChang/5f1188db3f29664856934679209c9af6 to your computer and use it in GitHub Desktop.
Save ShinyChang/5f1188db3f29664856934679209c9af6 to your computer and use it in GitHub Desktop.
const threadLoader = require('thread-loader');
threadLoader.warmup({
// pool options, like passed to loader options
// must match loader options to boot the correct pool
}, [
// modules to load
// can be any module, i. e.
'babel-loader',
'babel-preset-es2015',
'sass-loader',
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment