|
|
@ -112,7 +112,7 @@ export class CompileTabLogic { |
|
|
|
this.event.emit('startingCompilation') |
|
|
|
this.event.emit('startingCompilation') |
|
|
|
if(await this.api.fileExists('remappings.txt')) { |
|
|
|
if(await this.api.fileExists('remappings.txt')) { |
|
|
|
this.api.readFile('remappings.txt').then(remappings => { |
|
|
|
this.api.readFile('remappings.txt').then(remappings => { |
|
|
|
this.compiler.set('remappings', remappings.split('\n')) |
|
|
|
this.compiler.set('remappings', remappings.split('\n').filter(Boolean)) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else this.compiler.set('remappings', []) |
|
|
|
} else this.compiler.set('remappings', []) |
|
|
|
if (this.configFilePath) { |
|
|
|
if (this.configFilePath) { |
|
|
|