'is it possible to enable the source tree when build umi apps

I am using this command to build umi and deployment to test environment:

umi build

and this is the github actions build scripts:

  - name: Build React App
    run: | 
      yarn
      yarn global add umi
      umi build

what should I do to enable the source tree when build the umi app? I did not found any instructions about this in the official document.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source