I have an Angular 9 app. developing front end from mock-content. the software will be embedded to hardware. I have placed mock-content folder under assets folder. my problem is when building (ng build --prod) the mock-content folder is also present in the assets folder. i need to delete the mock content every time in order to embed(update) the software in the hardware.
Asked
Active
Viewed 212 times
0
-
what's make you stop delete the folder after the ng build – shamon shamsudeen Jul 21 '20 at 08:14
-
https://stackoverflow.com/questions/40682848/how-to-clean-delete-contents-folder-with-npm – shamon shamsudeen Jul 21 '20 at 08:17
-
i dont want to update/embed the mock-content in the hardware, hardware as the server side scripting. mock-content has built using the same server response in a node.js file to start the front end development – Ashwini Elangovan Jul 21 '20 at 08:23