We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7194ad7 commit bae3af1Copy full SHA for bae3af1
1 file changed
esm/interpreter/pyodide.js
@@ -99,7 +99,7 @@ export default {
99
// or URLs ending in .whl. When local wheels are present, disable IndexedDB
100
// caching unless the user explicitly sets packages_cache = "all".
101
// See https://github.com/pyscript/pyscript/issues/2282
102
- if (packages && packages.some(pkg => /^(?:\.{1,2}\/|\/|emfs:\/\/|file:\/\/)/.test(pkg) || /\.whl(?:\?|$)/.test(pkg))) {
+ if (packages && packages.some(pkg => /^(?:\.{1,2}\/|\/|(?:emfs|file):\/\/)/.test(pkg) || /\.whl(?:\?|$)/.test(pkg))) {
103
if (config.packages_cache !== 'all') {
104
config.packages_cache = 'never';
105
}
0 commit comments