Skip to content

Commit c7f887f

Browse files
committed
Add elixirscript 0.25.0 release post
1 parent cd476f1 commit c7f887f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
+++
2+
date = "2017-02-19T11:28:48-06:00"
3+
title = "Elixirscript 0.25.0 released"
4+
+++
5+
6+
0.25.0 adds some big changes. For a full look at what's new, look at the [changelog.](https://github.com/elixirscript/elixirscript/blob/master/CHANGELOG.md) Below is a summary of the major changes.
7+
8+
## Select module format of output
9+
10+
Beginning with this release, the module format of generated JavaScript is selectable. The choices are:
11+
12+
* es - ES Modules (default)
13+
14+
* common - CommonJS modules
15+
16+
* umd - UMD modules
17+
18+
The common options means you can use the output in node without the need for tools like babel. The same for UMD in modern browsers (if you use [requirejs](http://requirejs.org/) or add in each file in script tags). JS.import is also updated to generate the correct import code for the specified format.
19+
20+
## Dependencies support in mix projects
21+
22+
This release also brings support for dependencies in mix projects.
23+
24+
Your mix project must include the [elixirscript compiler in its list of compilers](https://github.com/elixirscript/elixirscript/blob/master/GettingStarted.md#mix-dependency). Dependencies you use must also have the elixirscript compiler in their mix compilers. When you run "mix compile", the compiler will compile the elixirscript code in the paths defined in those dependencies with your code.
25+
26+
## Default compiler parameters
27+
28+
The elixirscript mix compiler has the following compiler defaults:
29+
30+
* input: "lib/elixirscript"
31+
32+
* output: "priv/elixirscript"
33+
34+
* format: ":es"
35+
36+
These are changeable by adding the "elixir_script" settings to your mix project.
37+
38+
## Other announcements
39+
40+
* Elixirscript now has an [organization.](https://github.com/elixirscript) It has all elixirscript-related projects.
41+
42+
* Elixirscript now has a [gitter](https://gitter.im/elixirscript/elixirscript) room. I am still reachable in the "elixirscript" slack channel on the elixir-lang slack. The gitter room makes sure that conversation history isn't lost allows for integrations.
43+

0 commit comments

Comments
 (0)