Although Confit asks you if you want to overwrite a configuration file, if you've made changes to that file, it would be very easy for you to accidentally over-write those changes.
This is not a problem for the README.md file, which inserts "tags" into the generated file, so that if the file is re-generated, the generated content still ends up inside the tags, not affecting content outside of the tags.
The aim of this feature is to apply this same approach - introducing content tags - to other, important, generated files. For example, the Webpack.config.js file should have these tags, so that devs can extend it without it being overwritten.
Although Confit asks you if you want to overwrite a configuration file, if you've made changes to that file, it would be very easy for you to accidentally over-write those changes.
This is not a problem for the README.md file, which inserts "tags" into the generated file, so that if the file is re-generated, the generated content still ends up inside the tags, not affecting content outside of the tags.
The aim of this feature is to apply this same approach - introducing content tags - to other, important, generated files. For example, the
Webpack.config.js
file should have these tags, so that devs can extend it without it being overwritten.