Solved had to add avo custom js as an
# avo-2
a
Solved...had to add avo.custom.js as an esbuild entry point
l
how did you do that?
I mean, the
build
command in package.json by default uses a
*
"build": esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets
I'm asking so I know to update the docs
a
it may be jumpstart specific
What I figured out is that I could either add an import statement to application.js to import avo.custom.js, and NOT add an import to the _pre_head partial OR I could add 'avo.custom.js' to the esbuild.config file as an entryPoint (I think it maps to --entryPoints)
I chose the latter to be most 'compatible' with how you're doing things
I added you as a friend, I will DM you the exact syntax, but I can't post it in public since it's from JS