You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no reason to use @adminjs/bundler locally but every AdminJS panel hosted remotely must have NODE_ENV set to production to bundle/serve minified files. It's set explicitly to production because there were lots of questions why people's admin panels load slowly in production or weigh over 50 MBs.
Contact Details
No response
What happened?
If you import @adminjs/bundler
Your NODE_ENV gets set to production.
What is the point of that?
Bug prevalence
Always
AdminJS dependencies version
@adminjs/bundler v3.0.0
What browsers do you see the problem on?
No response
Relevant log output
No response
Relevant code that's giving you issues
https://github.com/SoftwareBrothers/adminjs-bundler/blob/main/src/bundle.ts#L6
The text was updated successfully, but these errors were encountered: