fix build etherscan

pull/5370/head
yann300 1 year ago
parent 18d3ca5a92
commit 0b9bee641a
  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