Make all resource paths relative
Closes: https://todo.sr.ht/~emersion/gamja/17
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
export * from "/node_modules/preact/dist/preact.module.js";
|
||||
export * from "../node_modules/preact/dist/preact.module.js";
|
||||
|
||||
import { h } from "/node_modules/preact/dist/preact.module.js";
|
||||
import htm from "/node_modules/htm/dist/htm.module.js";
|
||||
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);
|
||||
|
||||
import "/node_modules/anchorme/dist/browser/anchorme.min.js";
|
||||
import "../node_modules/anchorme/dist/browser/anchorme.min.js";
|
||||
export const anchorme = window.anchorme;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { anchorme, html } from "/lib/index.js";
|
||||
import { anchorme, html } from "./index.js";
|
||||
|
||||
export default function linkify(text) {
|
||||
var links = anchorme.list(text);
|
||||
|
||||
Reference in New Issue
Block a user