Skip to content

Commit

Permalink
ya
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Apr 9, 2024
1 parent a61ab27 commit 54c45d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions report/generator/flow-report-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ import {getModuleDirectory} from '../../shared/esm-utils.js';

const moduleDir = getModuleDirectory(import.meta);

console.log('flow-report', fs.readdirSync(`${moduleDir}/../../flow-report/`));
console.log('flow-report/assets', fs.readdirSync(`${moduleDir}/../../flow-report/assets`));


/* eslint-disable max-len */
const FLOW_REPORT_TEMPLATE = fs.readFileSync(`${moduleDir}/../../flow-report/assets/standalone-flow-template.html`, 'utf8');
const REGULAR_REPORT_CSS = fs.readFileSync(moduleDir + '/../assets/styles.css', 'utf8');
const FLOW_REPORT_CSS = fs.readFileSync(`${moduleDir}/../../flow-report/assets/styles.css`, 'utf8');
const FLOW_REPORT_JAVASCRIPT = fs.readFileSync(`${moduleDir}/../../dist/report/flow.js`, 'utf8');
/* eslint-enable max-len */

const files = fs.readdirSync(`${moduleDir}/../../flow-report/`);
console.log({files});



export const flowReportAssets = {
Expand Down

0 comments on commit 54c45d4

Please sign in to comment.