Convert to vite and clean up build

This commit is contained in:
Dolan Miu
2023-06-01 02:05:35 +01:00
parent 352cde743f
commit 0cbb5fb0a3
20 changed files with 2859 additions and 473 deletions

View File

@ -1,7 +1,7 @@
// Exporting the document as a stream
// Import from 'docx' rather than '../build' if you install from npm
import * as fs from "fs";
import { Document, Packer, Paragraph, Tab, TextRun } from "../build";
import { Document, Packer, Paragraph, Tab, TextRun } from "docx";
const doc = new Document({
sections: [