Skip to content

Commit

Permalink
Fix GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danvim committed Dec 11, 2023
1 parent a1f7829 commit 4413b53
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@docusaurus/types": "3.0.1",
"@types/pdfkit": "^0.13.3",
"@types/pdfmake": "^0.2.8",
"@types/react": "^18.2.43",
"docusaurus-plugin-react-docgen-typescript": "^1.1.0",
"docusaurus-plugin-sass": "^0.2.5",
"docusaurus-preset-shiki-twoslash": "^1.1.41",
Expand Down
3 changes: 3 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/PdfPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
TFontDictionary,
} from "pdfmake/interfaces";
import { PdfNode } from "./types/PdfNode.ts";
import pdfMake from "pdfmake/build/pdfmake";
import pdfMake from "pdfmake/build/pdfmake.js";
import { PdfRenderer } from "./PdfRenderer.tsx";

const defaultFonts: TFontDictionary = {
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export default defineConfig({
"react",
"react/jsx-runtime",
"pdfmake",
"pdfmake/build/pdfmake",
"pdfmake/build/pdfmake.js",
"react-reconciler",
"react-reconciler/constants",
"react-reconciler/constants.js",
],
},
},
Expand Down

0 comments on commit 4413b53

Please sign in to comment.