File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,21 @@ defmodule ElixirScript do
1717
1818 ``` elixir
1919 def project do
20- [
21- app: :my_app,
22- version: "0.1.0",
23- elixir: "~> 1.0",
24- deps: deps,
25- # Add elixir_script as a compilter
26- compilers: Mix.compilers ++ [:elixir_script],
27- # Our elixir_script configuration
28- elixir_script: [
29- # Entry module. Can also be a list of modules
30- input: MyEntryModule,
31- # Output path. Either a path to a js file or a directory
32- output: "priv/elixir_script/build"
33- ]
34- ]
20+ [
21+ app: :my_app,
22+ version: "0.1.0",
23+ elixir: "~> 1.0",
24+ deps: deps,
25+ # Add elixir_script as a compilter
26+ compilers: Mix.compilers() ++ [:elixir_script],
27+ # Our elixir_script configuration
28+ elixir_script: [
29+ # Entry module. Can also be a list of modules
30+ input: MyEntryModule,
31+ # Output path. Either a path to a js file or a directory
32+ output: "priv/elixir_script/build"
33+ ]
34+ ]
3535 end
3636 ```
3737
You can’t perform that action at this time.
0 commit comments