eyeglass
Version:
Sass modules for npm.
13 lines (11 loc) • 465 B
text/typescript
import * as path from "path";
import eyeglassFunctions from "./functions";
import { EyeglassModuleMain, EyeglassModuleExports } from "./modules/EyeglassModule";
const eyeglassExports: EyeglassModuleMain = function(eyeglass, sass): EyeglassModuleExports {
let opts = {
sassDir: path.join(__dirname, "..", "sass"), // directory where the sass files are.
functions: eyeglassFunctions(eyeglass, sass)
};
return opts;
};
module.exports = eyeglassExports;