Updated readme to describe new method of invoking the debug builds. (#117)

This commit is contained in:
Jared Shields 2020-08-24 10:39:22 -04:00 committed by GitHub
parent dfa4dc13dd
commit 4e7a2d3734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,4 +114,4 @@ if appErr := p.API.SetProfileImage(userID, profileImage); appErr != nil {
```
### How do I build the plugin with unminified JavaScript?
Use `make dist-debug` and `make deploy-debug` in place of `make dist` and `make deploy` to configure webpack to generate unminified Javascript.
Setting the `MM_DEBUG` environment variable will invoke the debug builds. The simplist way to do this is to simply include this variable in your calls to `make` (e.g. `make dist MM_DEBUG=1`).