mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-02 12:54:23 +02:00
index files are mechanical, so now they're script-generated
This commit is contained in:
@@ -38,5 +38,5 @@ Object.keys(index).forEach( section => {
|
||||
`module.exports = generateBase("${section}");`
|
||||
].filter(l => !!l).join('\n');
|
||||
|
||||
console.log('[',section,"]\n", indexCode,'\n');
|
||||
fs.writeFileSync(path.join(BASEDIR,`components/sections/${section}/index.js`), indexCode);
|
||||
});
|
Reference in New Issue
Block a user