Apis
@zely-js/core
Core.buildDev()
core.buildDev()
Compiles a zely app to generate a production build.
Typescript
const { message, filename } = await buildDev(options);-
messageis the message to be printed in the console. -
filenameis the final compiled JavaScript server entry file.
#Options
The argument passed to this function is a UserConfig object. Build-related options include:
-
build.dist: Output path -
build.bundle: Whether to bundle the files