UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

19 lines (14 loc) 489 B
import tildeImporter from "node-sass-package-importer"; import * as sass from "sass"; import yargs from "yargs"; import sassRenderSyncConfig from "./sassConfig"; const args = yargs(process.argv.slice(2)).argv as any; const styles = sass.renderSync({ importer: tildeImporter(), ...sassRenderSyncConfig, file: "src/index.scss", includePaths: ["node_modules"], // Carbon does not use tilde import syntax }); if (args.outputCss) { console.log(styles.css.toString()); }