Allow PyScript to fully run locally (#1805)

This commit is contained in:
Andrea Giammarchi
2023-10-20 15:02:05 +02:00
committed by GitHub
parent 88fa82c61a
commit 6dd242f3ce
8 changed files with 113 additions and 70 deletions

View File

@@ -89,8 +89,7 @@ for (const [TYPE] of TYPES) {
} else if (toml || type === "toml") {
try {
const { parse } = await import(
/* webpackIgnore: true */
"https://cdn.jsdelivr.net/npm/@webreflection/toml-j0.4/toml.js"
/* webpackIgnore: true */ "./toml.js"
);
parsed = parse(text);
} catch (e) {

File diff suppressed because one or more lines are too long