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

Latest commit

 

History

History
32 lines (21 loc) · 781 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 781 Bytes

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