B
B
Boris the Animal2020-01-17 10:33:51
JavaScript
Boris the Animal, 2020-01-17 10:33:51

React JS, the sources after publishing the site are exactly the same as in the development environment. This is fine? Is it possible to turn them into an unreadable mess?

Uploaded the site to VPS. I open it and see that the sources there are very well structured, in my opinion even better than when debugging. When debugging, there are a lot of folders with strange names, but after the release they say directly: copy me and take it for yourself. Even the comments in the code are all left. Can something be done about this? ASP.NET Core 2.2 + React JS application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-01-17
@Casper-SC

yes it is webpack, search for react webpack disable source maps
with create-react-app i do as in this tip
https://stackoverflow.com/a/54609789

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question