mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Ignore build folder in admin package
This commit is contained in:
parent
31291ce851
commit
74449b75e5
@ -12,7 +12,7 @@ const mergeRoutes = (a, b, key) =>
|
||||
module.exports = async strapi => {
|
||||
const adminPath = findPackagePath('@strapi/admin');
|
||||
const [files, config] = await Promise.all([
|
||||
loadFiles(adminPath, '!(config|node_modules|tests|ee|scripts)/*.*(js|json)'),
|
||||
loadFiles(adminPath, '!(config|node_modules|tests|ee|build|scripts)/*.*(js|json)'),
|
||||
loadConfig(adminPath),
|
||||
]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user