Closed simonferndriger closed 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!
Looks like the JS was indeed incorrect, sorry
π Bug Report
Describe the bug
When you have a JS file with the following content, the minifying fails with an error:
if(typeof structuredClone !== 'function'){ const { structuredClone = (await import('https://cdn.skypack.dev/@ungap/structured-clone')).default } = self; }
Is this a regression?
No
To Reproduce
Expected behaviour
It should minify or is there something wrong with this import statement?
Your environment
Thank you for looking into this, otherwise your plugin is awesome! π₯³