Reorganize monorepo structure

* Move all config files to './configs'
* Simplify './scripts' folder.
This commit is contained in:
Nicolas Gallagher
2022-06-30 23:17:16 -07:00
parent d31a8a1ec1
commit f81095442f
140 changed files with 110 additions and 98 deletions
@@ -0,0 +1,12 @@
const fs = require('fs');
const path = require('path');
const pages = fs
.readdirSync(path.resolve(__dirname, 'pages'), { withFileTypes: true })
.filter((dirent) => dirent.isDirectory())
.map((dirent) => dirent.name);
module.exports = {
outDir: 'dist',
env: { pages }
};