From 0b9bee641a9e13bffee052fc56aefdd1da23e566 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 26 Jun 2023 10:52:47 +0200 Subject: [PATCH] fix build etherscan --- apps/remix-ide/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/webpack.config.js b/apps/remix-ide/webpack.config.js index ba5258a8f3..b34b7dcb11 100644 --- a/apps/remix-ide/webpack.config.js +++ b/apps/remix-ide/webpack.config.js @@ -143,7 +143,7 @@ class CopyFileAfterBuild { // but the raw-loader try to access the resources from the root folder. const files = fs.readdirSync('./dist/apps/etherscan') files.forEach(file => { - if (file.startsWith('node_modules_raw-loader_')) { + if (file.includes('plugin-etherscan')) { fs.copyFileSync('./dist/apps/etherscan/' + file, './dist/apps/remix-ide/' + file) } })