mongodb-js / hadron-compile-cache

Hadron Compile Cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Hadron Compile Cache

License:Apache License 2.0


Languages

Language:JavaScript 100.0%Language:HTML 0.0%