Copying the *.html files from src folder to the www folder


#1

Lets say you have a list of files in the /src folder along with the usual ionic files such as index.html and index.ts files. Which process or script is responsible for copying these files (*.html files) to the destination folder (www folder)? My guess is that its one of the following scripts in the package.json file :

"build": "ionic-app-scripts build",

"ionic:build": "ionic-app-scripts build",

"ionic:serve": "ionic-app-scripts serve"

The reason I am asking is that I have an auth.html file in the root folder of my /src folder which doesn’t get copied from src to the destination folder and I always need to manually copy this file to the www folder which doesn’t appear to be the right approach.