SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.07k stars 650 forks source link

fix: return existing bundle immediately #1600

Closed mohd-akram closed 5 months ago

mohd-akram commented 6 months ago

Skip generating the entry file and calling mkdir if not needed.

mohd-akram commented 5 months ago

Thoughts on merging this? Currently the function might modify the filesystem even when write is false, which I don't think is desirable. This also avoids generating the entry file every time despite not being needed, speeding up the request.

github-actions[bot] commented 5 months ago

:tada: This PR is included in version 7.5.12 :tada:

The release is available on:

Your semantic-release bot :package::rocket: