Skip to content

Commit 49432fd

Browse files
committed
wip
1 parent 4b644d8 commit 49432fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/signals/signals-runtime/build-signals-runtime-global.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ const buildRuntimeAsString = async (platform) => {
6464
console.log(`wrote: ${generatedTsFile}`)
6565
}
6666

67-
// while esbuild supports target: es5 natively, it chokes with errors like]
68-
// ✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
6967
const compileToEs5WithBabel = (outFile) => {
68+
// While esbuild supports target: es5 natively, we use babel because esbuild chokes with errors. e.g.:
69+
// ✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
7070
return execSync(
7171
`npx babel ${outFile} --out-file ${outFile} --config-file ./babel.config.js`
7272
)

0 commit comments

Comments
 (0)