A bundler for node.js projects using babel. Compiles all your local files into a single script suitable for node.js usage. This differs from webpack/browserify in that:
node_modules- it assumes modules will still be available
__filenameare not supported
require('./' + 'file')are not supported
result.tree- the dependency tree as an array
result.code- the JS code bundled together
filename- entry file
hash- hash for the entire build for testing. This should primarily be based on babel configs.
presets- an array of babel presets to use.
plugins- an array of babel plugins to use.
The location of the cache directory.
You could also set it via
Clear the nodepack cache folder.
Make sure the nodepack cache folder exists.