fix build etherscan

pull/3851/head
yann300 1 year ago
parent 6440f50602
commit 4f88103bc0
  1. 2
      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)
}
})

Loading…
Cancel
Save