Josee9988 / MinifyAll

A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗢𝗻𝗢𝗳𝗢𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 π˜Ύπ™€π™’π™₯π™§π™šπ™¨π™¨ and π™œπ™―π™žπ™₯ files and folders πŸ“¦ Reduce your bundle and file sizes with lightning speed ⚑
https://minifyall.jgracia.es/
GNU General Public License v3.0
71 stars 10 forks source link

[Bug] #170

Open Sperhak323 opened 1 year ago

Sperhak323 commented 1 year ago

Hi, I search bug. I cannot minifier javascript document. Line const data = await chrome.storage.sync.get("options"); make error specialy: "await chrome" when i write "awaitchrome" document can minifier, but code not work :) sure.

Sorry for my english.

All code here : `// In-page cache of the user's options const options = {}; const optionsForm = document.getElementById("optionsForm");

// Immediately persist options changes optionsForm.switch.addEventListener("change", (event) => { options.debug = event.target.checked; chrome.storage.sync.set({ options }); });

// Initialize the form with the user's option settings const data = await chrome.storage.sync.get("options"); Object.assign(options, data.options); optionsForm.switch.checked = Boolean(options.debug);`

welcome[bot] commented 1 year ago

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!