index.js
function cssFilesToStyleTag(dom) {
    const rootDir = `${__dirname}/`;

    const styles = m('div', {}, cssFiles.map(file => m('link', { rel: 'stylesheet', href: rootDir + file })));

    m.render(dom, styles);
  }
function cssFilesToStyleTag(dom) {
    const rootDir = `${__dirname}/`;

    const styles = m('div', {}, cssFiles.map(file => m('link', { rel: 'stylesheet', href: rootDir + file })));

    m.render(dom, styles);
  }
function cssFilesToStyleTag ( dom ) { const rootDir = ` ${ __dirname } ` ; const styles = m ( 'div' , { } , cssFiles . map ( file => m ( 'link' , { rel : 'stylesheet' , href : rootDir + file } ) ) ) ; m . render ( dom , styles ) ; }
h4cky0 strikes again? mebbe there's a better way? ;x
h4cky0 strikes again? mebbe there s a better way? ; x