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 { extname, resolve } from "path"; | ||||||
| import { readFileSync } from "fs"; | import { readFileSync } from "fs"; | ||||||
| import { marked } from "marked"; | import { marked } from "marked"; | ||||||
| import * as mammoth from "mammoth"; | import mammoth from "mammoth"; | ||||||
| import * as san from "sanitize-html"; | import san from "sanitize-html"; | ||||||
| import { sanitizeConf } from "../constants"; | import { sanitizeConf } from "../constants"; | ||||||
| import { FormChapter } from "~/lib/client/types/form/story"; | import { FormChapter } from "~/lib/client/types/form/story"; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user