Use linkifyjs module

This commit is contained in:
Simon Ser 2021-10-14 20:55:55 +02:00
parent a120d79585
commit 1a8d539c9e
3 changed files with 13 additions and 16 deletions

View file

@ -4,6 +4,4 @@ import { h } from "../node_modules/preact/dist/preact.module.js";
import htm from "../node_modules/htm/dist/htm.module.js";
export const html = htm.bind(h);
// TODO: replace with proper import once this is merged and released:
// https://github.com/Hypercontext/linkifyjs/pull/356
export const linkifyjs = window.linkify;
export * as linkifyjs from "../node_modules/linkifyjs/dist/linkify.module.js";