hadron-compile-cache
v4.4.0
Published
Hadron Compile Cache
Downloads
84
Maintainers
Keywords
Readme
hadron-compile-cache
Hadron Compile Cache
Installation
npm install --save hadron-compile-cache
Usage
'use strict';
const path = require('path');
const CompileCache = require('hadron-compile-cache');
const home = path.join('path', 'to', 'my', 'root');
CompileCache.setHomeDirectory(home);
require('mysource.jsx'); // Will be hooked into the cache.