I have been extensively using Template7 in my code. I use
vite as a bundler. The code works fine when used in non-production, but not when built for production. I get warnings like:
Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification. Clearly, this is because of Template7 (as I see
eval being used there). Do you think using
new Function() can solve the problem?
Any suggestion? TIA!