use src structure for templates

This commit is contained in:
Pierre Noël 2021-09-20 11:34:18 +02:00
parent b3f22bac5d
commit 938673db2f

View File

@ -13,13 +13,15 @@ const allowChildren = '*';
const allowedTemplateContents = {
'README.md': true,
'.env.example': true,
api: allowChildren,
components: allowChildren,
src: {
api: allowChildren,
components: allowChildren,
plugins: allowChildren,
},
config: {
functions: allowChildren,
},
data: allowChildren,
plugins: allowChildren,
public: allowChildren,
scripts: allowChildren,
};