mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
compile ➡️ transpile
This commit is contained in:
parent
07d13c1855
commit
8521e47e20
@ -120,7 +120,7 @@ Object.assign(PackageTranspilationRegistry.prototype, {
|
||||
var transpiler = this.getTranspiler(spec)
|
||||
|
||||
if (transpiler) {
|
||||
var result = transpiler.compile(sourceCode, filePath, spec.options || {})
|
||||
var result = transpiler.transpile(sourceCode, filePath, spec.options || {})
|
||||
if (result === undefined) {
|
||||
return sourceCode
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user