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.
@@ -86,12 +86,12 @@ internalCallEsBuild(
86
86
  target node async """
87
87
  import * as esbuild from 'esbuild'
88
88
  return await esbuild.build({
89
- entryPoints: [mainJsFile_],
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: 'es6',
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
- entryPoints: [mainJsFile_],
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: 'es6',
156
+ target: 'es2017',
157
157
  external: ['../../../node_modules/*'], // TODO
158
158
  outfile: outputPath_
159
159
  })
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.5.25",
7
+ "version": "0.5.26",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.5.25",
7
+ "version": "0.5.26",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"