#Dev project runs, build project errors.

4 messages · Page 1 of 1 (latest)

rose whale
#

Hey, I have a Solid app that runs fine in dev mode but loading the build output gives a console error of "Uncaught SyntaxError: redeclaration of const Ge". I've scanned the compiled js and can't find any const Ge so not really sure where to start. Could anyone point me in the right direction? Thanks

maiden parrot
#

try disabling minification in vite config and building so you can see what those names actually are

rose whale
#

it runs! now with an error that points towards the one place in the app where I had to use jQuery to initialise an injected cf7 form for wordpress. thanks, you're my hero. I just spent a week on this and came to ship and was devastated it wouldn't build

#

weird that it doesn't have the declaration error unminified, its a totally different "node.addEventListener is not a function"