Currently the build is deleting everything in the www/ directory. If I have a file in my www/ directory it gets erased on build. I could put the file in another directory and add a custom config but this seems like overkill for one file.
Either be able to add specific files to ignore from deletion in the www/ directory or only have the relevant files in www/ deleted for a build.
Steps to reproduce:
ionic serve.gitignore file is deleted inside of www/ and all other files in www/ are showing up to add to gitWhich @ionic/app-scripts version are you using?
0.0.30
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Related to: https://github.com/driftyco/ionic-app-scripts/issues/127
@adamdbradley @danbucholtz Thoughts on how this should be handled?
It sounds like we should only delete the www/build directory going forward.
What does this mean for the assets directory, though?
Thanks,
Dan
The recent updates has it so only www/build gets deleted.
i still get all the folder cleaned (app-scripts 0.34)
@marcoturi hmm I'm not seeing the folder cleaned using the conference app. Could you clone that and see if it happens for you there? https://github.com/driftyco/ionic-conference-app
my bad, i didn't run npm install after updating package.json, was using app-scripts 0.30.
Most helpful comment
my bad, i didn't run npm install after updating package.json, was using app-scripts 0.30.