Mikko Ahlroth
Mikko Ahlroth
I guess this is the place responsible (suitable TODO here :grin:): https://github.com/gleam-lang/gleam/blob/55a4e5881923e5679dde57cf950de389d6e04be4/compiler-core/src/codegen.rs#L114-L138
Whether dev deps are included is controlled by this line: https://github.com/gleam-lang/gleam/blob/55a4e5881923e5679dde57cf950de389d6e04be4/compiler-core/src/build/project_compiler.rs#L520 We could turn it to `false` there, but I suppose that would break functionality if the user wants some...
But, do we ever use the prod mode? I was under the impression that we don't have prod builds. That's what I meant by having a dev/prod distinction, i.e. do...
Hmm, I guess I'll try it out and see. 👍
I made this change: ```diff diff --git a/compiler-core/src/build/project_compiler.rs b/compiler-core/src/build/project_compiler.rs index de2f2006..79eea3d6 100644 --- a/compiler-core/src/build/project_compiler.rs +++ b/compiler-core/src/build/project_compiler.rs @@ -517,7 +517,7 @@ where .collect(); super::TargetCodegenConfiguration::Erlang { app_file: Some(ErlangAppCodegenConfiguration { - include_dev_deps: is_root,...
There is a `test-package-compiler`, but it forces `include_dev_deps: true`.
I would agree if this was a ranged version, but this is an exact version. It should not be comparing anything, right? It should at most complain if it can't...
> Ok I think I have this fixed but funnily enough, it looks like https://diff.hex.pm/diff/lustre/4.0.0-rc.2..4.0.0-rc1 the repro toml in this issue breaks with the fix since rc2 prevents the usage...
I also have this problem. Workaround: The part crashing is the formatter. In your settings, use this to prevent autoformatting OCaml files: ```json "[ocaml]": { "editor.formatOnSave": false }, ``` You...
In the import lists, the final module name is blue, but in the body modules are green and variables are blue. Could the modules use the same colour?