Skip to content

Commit

Permalink
v1.21.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nshiab committed Dec 13, 2024
1 parent e0cd4d5 commit 081148b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nshiab/journalism",
"version": "1.21.5",
"version": "1.21.6",
"exports": {
".": "./src/index.ts",
"./web": "./src/web.ts"
Expand Down
5 changes: 5 additions & 0 deletions src/dataviz/saveChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ export default async function saveChart(
});
const page = await context.newPage();

console.log(JSON.stringify(import.meta));

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

console.log({ __filename, __dirname });

const d3Path = resolve(__dirname, "./imports/[email protected]");
const plotPath = resolve(__dirname, "./imports/[email protected]");

Expand Down

0 comments on commit 081148b

Please sign in to comment.