Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

mongodb-js/hadron-compile-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

License

Apache 2.0