From 35912b556e2d1f06eb929ce8d1b2fb016bdf7570 Mon Sep 17 00:00:00 2001 From: Alexandre Bodin Date: Wed, 4 Aug 2021 14:07:35 +0200 Subject: [PATCH] Fix missing file to copy in yarn build --- packages/core/admin/index.js | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/admin/index.js b/packages/core/admin/index.js index 3e018bef35..fcc09cbfcb 100644 --- a/packages/core/admin/index.js +++ b/packages/core/admin/index.js @@ -150,7 +150,7 @@ async function copyAdmin(dest) { await fs.ensureDir(path.resolve(dest, 'config')); await fs.copy(path.resolve(adminPath, 'admin'), path.resolve(dest, 'admin')); await fs.copy( - path.resolve(adminPath, 'config', 'layout.js'), + path.resolve(adminPath, 'server', 'config', 'layout.js'), path.resolve(dest, 'config', 'layout.js') ); diff --git a/yarn.lock b/yarn.lock index e1a1f79321..b1d9f9d071 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15388,7 +15388,7 @@ opener@^1.5.2: resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== -opn@^5.3.0, opn@^5.5.0: +opn@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==