Running ionic build piece by piece


#1

Hi,
Currently the ionic build command appears to be an all or nothing task that includes several sub-tasks like clean, copy, transpile, webpack etc. The build process in ionic-serve is slightly different where the transpile and webpack are incremental, significantly reducing the build time.
My question is- is there a way to simulate ionic serve’s build behavior using ionic cli?
something like

ionic transpile
ionic webpack

#2

The build is actually run by npm in the background. Look at ionic:build run script in your packages.json.