Next.js Discord

Discord Forum

Minified JS file not found on live site but is there in local

Unanswered
Jimdog posted this in #help-forum
Open in Discord
I have a plugin called image map pro and it uses a minified JS file to function. I am referencing it in the code and I have deployed my site to production using vercel but in the network tab it isn't present and the plugin doesn't work at all.

Note : I am using an API to import some of the data relating to the image map pro. The API is getting the configurations and image of the map.

4 Replies

European sprat
You'll need to share details about how you're including the file if you want someone to try helping
Here is where the file is being included
with data being the data from the API
Issue fixed by using export const dynamic = 'force-dynamic' within the file