SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
282 stars 87 forks source link

Bundle target should use release configuration for Fable build #497

Closed mattgallagher92 closed 2 years ago

mattgallagher92 commented 2 years ago

Because we're not setting it, the default release configuration is debug:

Arguments: ... --configuration The configuration to use for building the project, the default is 'Debug'

(from fable --help)

I'll raise a PR.

mattgallagher92 commented 2 years ago

Nevermind, I was using an old version of Fable. The newer version that the default template uses behaves correctly:

--configuration The configuration to use when parsing .fsproj with MSBuild, default is 'Debug' in watch mode, or 'Release' otherwise

mattgallagher92 commented 2 years ago

(SAFE template uses 3.2.11, I was using 3.1.9)