From 15e425411fa9e1f2fdb515922611b6859e74fe07 Mon Sep 17 00:00:00 2001 From: Mayank Mandava Date: Tue, 30 Jul 2019 10:04:02 -0700 Subject: [PATCH 01/68] Update link to standalone preact+html module The `.mjs` link does not work anymore. Changing README to point to `.module.js` instead. Closes 113 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1dce010..2707abb 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ const html = htm.bind(React.createElement); ```js // just want htm + preact in a single file? there's a highly-optimized version of that: -import { html, render } from 'https://unpkg.com/htm/preact/standalone.mjs' +import { html, render } from 'https://unpkg.com/htm/preact/standalone.module.js' ``` ## Usage @@ -164,7 +164,7 @@ It's a single HTML file, and there's no build or tooling. You can edit it with n htm Demo