fix(server/utils): fix mammoth and sanitize-html imports
(make it so that we're not importing a namespace instead of a default export)
This commit is contained in:
parent
b0e949df3b
commit
dd74c8417a
@ -1,8 +1,8 @@
|
||||
import { extname, resolve } from "path";
|
||||
import { readFileSync } from "fs";
|
||||
import { marked } from "marked";
|
||||
import * as mammoth from "mammoth";
|
||||
import * as san from "sanitize-html";
|
||||
import mammoth from "mammoth";
|
||||
import san from "sanitize-html";
|
||||
import { sanitizeConf } from "../constants";
|
||||
import { FormChapter } from "~/lib/client/types/form/story";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user