Fix routing forms logo (#4058)

This commit is contained in:
Hariom Balhara 2022-08-31 14:56:16 +05:30 committed by GitHub
parent dd24ef4946
commit 2414cacabb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ const nextConfig = {
new CopyWebpackPlugin({
patterns: [
{
from: "../../packages/app-store/*/static/**",
from: "../../packages/app-store/**/static/**",
to({ context, absoluteFilename }) {
const appName = /app-store\/(.*)\/static/.exec(absoluteFilename);
return Promise.resolve(`${context}/public/app-store/${appName[1]}/[name][ext]`);