I successfully deployed my contract with the truffle console. Then I wrote my DApp with the files index.html and app.js in the /app folder.
I attempted to build my codes for production by running the command
sudo npm run build
I went into my build folder but only see /contracts. From all my previous attempts, I would have seen the production versions of index.html and app.js in this folder that I can now copy to my web server. It strange that it didn't appear this time.
I am on Truffle v4.1.14.
By the way when I run
sudo npm run dev
I could see that index.html and app.js on localhost:8080.
Any help is appreciated!