mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 19:25:35 -05:00
Allow PyScript to fully run locally (#1805)
This commit is contained in:
committed by
GitHub
parent
88fa82c61a
commit
6dd242f3ce
@@ -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) {
|
||||
|
||||
3
pyscript.core/src/toml.js
Normal file
3
pyscript.core/src/toml.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user