is anyway to avoid forcing dev mode in production. #8634
Unanswered
Colory
asked this question in
Help/Questions
Replies: 1 comment
-
That is one of the problems with JS web apps. Anyone with some JS experience can download your modules and reverse minify them. A better solution is to use token protection on your app folders using something like Oauth2. So unless the user is logged in access to the /dist folder is restricted in NodeJS. For token validation I use this tool from Okta. https://github.com/okta/okta-jwt-verifier-js |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there anyway to avoid be changed to dev mode in production.
I see that we can change some state in production easily to change the production state to dev mode.
so that someone else can use devtool to see the data structure in chome or other browser with the devtool extension.
🤔 🤔
like some vue force dev extensions.
I want to know if there is anyway to avoid it.
so that the frontend's data stucture can not be easily get without much effort.
😃
Beta Was this translation helpful? Give feedback.
All reactions