Setup development environment


#1

All,

I want to modify modules\API\external\external_api.js and \modules\API\API.js.
My target : everytime when change to these two files, They can be compiled automatically.

I have done:
export WEBPACK_DEV_SERVER_PROXY_TARGET=https://self-host-server.com
make dev

but I can not found the compiled “external_api.js” in the libs folder.
If I try ‘https://mydevelopmentserver:8081/modules/API/external/external_api.js’ The system prompts that this file does not exist.

How should I set up for more comprehensive debugging external_api.js?


#2

When running in dev mode a bundle is created on the fly, you won’t have a file on the disk. If you want to create a full build you can do just make and the result will be stored in libs.