We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271fd34 commit 12d73f5Copy full SHA for 12d73f5
packages/signals/signals-runtime/build-signals-runtime-global.js
@@ -64,9 +64,9 @@ const buildRuntimeAsString = async (platform) => {
64
console.log(`wrote: ${generatedTsFile}`)
65
}
66
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
69
const compileToEs5WithBabel = (outFile) => {
+ // While esbuild supports target: es5 natively, we use babel because esbuild chokes with errors. e.g.:
+ // ✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
70
return execSync(
71
`npx babel ${outFile} --out-file ${outFile} --config-file ./babel.config.js`
72
)
0 commit comments