diff --git a/src/mfm/html-to-mfm.ts b/src/mfm/html-to-mfm.ts
index 6da1dbdad3..aa887c5560 100644
--- a/src/mfm/html-to-mfm.ts
+++ b/src/mfm/html-to-mfm.ts
@@ -1,4 +1,5 @@
const parse5 = require('parse5');
+import { URL } from 'url';
export default function(html: string): string {
if (html == null) return null;