|
|
@ -5,7 +5,7 @@ import { IframePlugin } from '@remixproject/engine-web' |
|
|
|
const _paq = window._paq = window._paq || [] |
|
|
|
const _paq = window._paq = window._paq || [] |
|
|
|
|
|
|
|
|
|
|
|
// requiredModule removes the plugin from the plugin manager list on UI
|
|
|
|
// requiredModule removes the plugin from the plugin manager list on UI
|
|
|
|
const requiredModules = [ // services + layout views + system views
|
|
|
|
let requiredModules = [ // services + layout views + system views
|
|
|
|
'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', 'locale', |
|
|
|
'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', 'locale', |
|
|
|
'fileManager', 'contentImport', 'blockchain', 'web3Provider', 'scriptRunner', 'fetchAndCompile', 'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons', |
|
|
|
'fileManager', 'contentImport', 'blockchain', 'web3Provider', 'scriptRunner', 'fetchAndCompile', 'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons', |
|
|
|
'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity', 'solidity-logic', 'gistHandler', 'layout', |
|
|
|
'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity', 'solidity-logic', 'gistHandler', 'layout', |
|
|
@ -14,6 +14,11 @@ const requiredModules = [ // services + layout views + system views |
|
|
|
'vm-shanghai', |
|
|
|
'vm-shanghai', |
|
|
|
'compileAndRun', 'search', 'recorder', 'fileDecorator', 'codeParser', 'codeFormatter', 'solidityumlgen', 'contractflattener', 'solidity-script'] |
|
|
|
'compileAndRun', 'search', 'recorder', 'fileDecorator', 'codeParser', 'codeFormatter', 'solidityumlgen', 'contractflattener', 'solidity-script'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(isElectron()) { |
|
|
|
|
|
|
|
requiredModules = [...requiredModules, 'fs', 'electronTemplates', 'isogit', 'remix-templates', 'electronconfig'] |
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// dependentModules shouldn't be manually activated (e.g hardhat is activated by remixd)
|
|
|
|
// dependentModules shouldn't be manually activated (e.g hardhat is activated by remixd)
|
|
|
|
const dependentModules = ['foundry', 'hardhat', 'truffle', 'slither'] |
|
|
|
const dependentModules = ['foundry', 'hardhat', 'truffle', 'slither'] |
|
|
|
|
|
|
|
|
|
|
|