AlpineJS for Web Extensions - Use of eval() prohibited #1485
-
Hi, I am building a web extension using AlpineJS. The use of any form of eval() function is prohibited hence I am unable to publish the extension on the Mozilla Addons directory. On version 2.8.2, the warning appears on line 144:
and line 165:
Any idea if there is a workaround for this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
We use Alpine for the DevTools extension - @HugoDF might be able to help. |
Beta Was this translation helpful? Give feedback.
-
Ah @gdeflaux, that's a bummer. Yeah, go for the CSP build, and keep in mind, we can improve that build with more intelligent parsing abilities for a nicer experience - right now, It's pretty restricting. |
Beta Was this translation helpful? Give feedback.
Ah @gdeflaux, that's a bummer. Yeah, go for the CSP build, and keep in mind, we can improve that build with more intelligent parsing abilities for a nicer experience - right now, It's pretty restricting.