Malformed JavaScript file served to the browser from App Service

Damian Głowala 0 Reputation points
2024-03-06T10:19:44.0166667+00:00

I have deployed a Nuxt 3 web app using Azure App Service (on Linux). However, one of the JavaScript assets is malformed when served to the browser, which looks really odd:

User's image

I have excluded the possibility of file being corrupted after the build is completed, as when accessing the release's files via SSH in Kudu, the file looks correct (compared to the above):

User's image

I would really appreciate any hints as to what the cause might be, I am completely clueless at this point... Thank you!

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,054 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,502 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.