GPTScript / AiScript

A Minimal, Full-Stack, Tool-Assisted Language. Native to Browsers and Bun. Strictly & Strongly-Typed.
https://github.com/GPTScript/AiScript
Mozilla Public License 2.0
9 stars 1 forks source link

`import` and `export default`, NO `require` #50

Open coolaj86 opened 3 weeks ago

coolaj86 commented 3 weeks ago

The target for AiScript is Evergreen Browsers, Node, Bun, and Deno.

Until this year, import and export were not fully cross-supported in those environments.

BUT, now they are! And so, we will NOT use the previously-universal require (works in a browser just fine, believe it or not).

See: