firefly-compiler 0.5.25 → 0.5.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/BuildSystem.ff
CHANGED
|
@@ -86,12 +86,12 @@ internalCallEsBuild(
|
|
|
86
86
|
target node async """
|
|
87
87
|
import * as esbuild from 'esbuild'
|
|
88
88
|
return await esbuild.build({
|
|
89
|
-
|
|
89
|
+
stdin: {contents: `import {$run$} from './${mainJsFile_}';`, resolveDir: '.'},
|
|
90
90
|
bundle: true,
|
|
91
91
|
minify: minify_,
|
|
92
92
|
sourcemap: sourceMap_,
|
|
93
93
|
platform: 'browser',
|
|
94
|
-
target: '
|
|
94
|
+
target: 'es2017',
|
|
95
95
|
external: ['../../../node_modules/*'], // TODO
|
|
96
96
|
outfile: outputPath_
|
|
97
97
|
})
|
|
@@ -148,12 +148,12 @@ export async function internalCallEsBuild_$(self_, mainJsFile_, outputPath_, min
|
|
|
148
148
|
|
|
149
149
|
const esbuild = import$0
|
|
150
150
|
return await esbuild.build({
|
|
151
|
-
|
|
151
|
+
stdin: {contents: `import {$run$} from './${mainJsFile_}';`, resolveDir: '.'},
|
|
152
152
|
bundle: true,
|
|
153
153
|
minify: minify_,
|
|
154
154
|
sourcemap: sourceMap_,
|
|
155
155
|
platform: 'browser',
|
|
156
|
-
target: '
|
|
156
|
+
target: 'es2017',
|
|
157
157
|
external: ['../../../node_modules/*'], // TODO
|
|
158
158
|
outfile: outputPath_
|
|
159
159
|
})
|
package/package.json
CHANGED