I have a vue.js/Phoenix application and I am currently facing a challenge with configuring the frontend assets properly. I have noticed that my priv/static/js/app.js file keeps updating whenever I make changes in other files, and I am unable to understand why this is happening. Despite my efforts to research this behavior, I have been unable to find any relevant information.
app.html.eex
<body>
<%= render @view_module, @view_template, assigns %>
<script src="<%= static_path(@conn, "/js/app.js") %>"></script>
</body>
My main query pertains to the structuring of a vue.js application. The automatic update of the static/js/app.js
file when changes are made in asset/src
is perplexing to me. I am seeking resources or insights on what might be causing this behavior, or where I can find further information to deepen my understanding.