@@ -0,0 +1,7 @@
+// this script renames the production folder from `build` to `dist`
+// it's because other frameworks name their production folder `dist`
+
+const fs = require('fs');
+const path = require('path');
+
+fs.renameSync(path.join(__dirname, 'build'), path.join(__dirname, 'dist'));
@jansiegel introduced react-rewire in #7588, maybe we could use it to change the output folder through Webpack and remove the hack with `post-build.js` files?