|
|
@ -27,7 +27,9 @@ export class CompilerMetadata extends Plugin { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_OutputFileName (path, target) { |
|
|
|
_OutputFileName (path, target) { |
|
|
|
return this.joinPath(path, this.innerPath, 'output/' + target.replace(/\//g, '_') + '.json') |
|
|
|
const paths = target.split('/') |
|
|
|
|
|
|
|
const fileName = paths[paths.length - 1] |
|
|
|
|
|
|
|
return this.joinPath(path, this.innerPath, 'output/' + fileName + '.json') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onActivation () { |
|
|
|
onActivation () { |
|
|
|