Nigecat / obsidian-desmos

Embed graphs directly into your obsidian notes
GNU General Public License v3.0
123 stars 7 forks source link

Generated main.js file is too big and contains source mapping. #101

Closed lore-emu closed 10 months ago

lore-emu commented 1 year ago

Describe the bug I noticed that the size of the main.js file that is distributed is 4MB. I also noticed that the file contains the "source mapping" as its last line:

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNv...

After removing this line, the file size is shrinked to 2MB. Is there any reason why the source mapping is kept in the release file or can it be removed by using different settings when building the file?