From f5dc6f8ba800d1b3103177b705b7e462a55f388c Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Fri, 29 Mar 2024 12:19:00 -0700 Subject: [PATCH] fix dest path --- packages/lexical-playground/viteCopyEsm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lexical-playground/viteCopyEsm.ts b/packages/lexical-playground/viteCopyEsm.ts index f9b01677e43..9dabd1bcda5 100644 --- a/packages/lexical-playground/viteCopyEsm.ts +++ b/packages/lexical-playground/viteCopyEsm.ts @@ -27,7 +27,7 @@ export default function viteCopyEsm() { {dest: './build/esm/', src: './esm/*'}, {dest: './build/', src: ['./*.png', './*.ico']}, ...parseImportMapImportEntries().map(([mod, fn]) => ({ - dest: path.join('./build/esm/dist', fn), + dest: './build/esm/dist/', src: path.join( `../${mod.replace(/^@/, '').replace(/\//g, '-')}`, // Fork modules are only produced by build-release, which is not run