Merge pull request #3851 from ethereum/fix_build_etherscan

fix build etherscan
pull/3852/head
yann300 1 year ago committed by GitHub
commit 59cbf5a807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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