TypeError: failed to fetch dynamically imported module: http://localhost/_capacitor_file_/storage/emulated/0/Documents/Obsidian/vault1/Ext/Scripts/MediaList.js
const ml = await engine.importJs("Ext/Scripts/MediaList.js");
It seems to me like it is trying to fetch in the capacitor files while the actual location of the file is in the main Documents folder of my phone.
I hope it is clear that this same code works on Desktop
Would be good to know if there is a solution to this?
It seems to me like it is trying to fetch in the capacitor files while the actual location of the file is in the main Documents folder of my phone.
I hope it is clear that this same code works on Desktop
Would be good to know if there is a solution to this?