You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a gleam application with target = "javascript" will build the application just fine. However when I enable typescript_declarations = true in the gleam.toml config and build the project again, the .d.ts are not emitted until I rm -rf the build directory that was emitted without the declarations turned on.
gleam v1.10.0
runtime: javascript
The text was updated successfully, but these errors were encountered:
Good find! Let's reset the build directory when this configuration changes.
Cool! Yeah I'd be happy to work on this. I looked around in the build directory, but was not able to find any indication that we already store the settings or gleam.toml file used for that build. Since we'll somehow have to be able to know what configuration that was used in the build directory to be able to diff the new gleam.toml config.
Would it be fine to just cp the gleam.toml into the build directory and implement a diffing logic at the start of the build command?
Given a gleam application with
target = "javascript"
will build the application just fine. However when I enabletypescript_declarations = true
in thegleam.toml
config and build the project again, the.d.ts
are not emitted until Irm -rf
thebuild
directory that was emitted without the declarations turned on.gleam v1.10.0
runtime: javascript
The text was updated successfully, but these errors were encountered: