From 21a8bd6982766b1b29bb51cc2e2294e9c3116866 Mon Sep 17 00:00:00 2001 From: MiroslavDionisiev Date: Thu, 13 Jun 2024 16:37:01 +0300 Subject: [PATCH] build: [UEPR-17] Cnanged resolve to use path defined in scratch-render exports --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 03e029637..aca3e3900 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -92,7 +92,7 @@ const playgroundBuilder = webBuilder.clone() } }) .addModuleRule({ - test: require.resolve('scratch-render/src/index.js'), + test: require.resolve('scratch-render'), loader: 'expose-loader', options: { exposes: 'ScratchRender'