fable-compiler / fable-arch

Framework for building applications based on the elm architecture.
https://fable-compiler.github.io/fable-arch/
Apache License 2.0
60 stars 14 forks source link

Update to use Fable 0.7 references system #46

Closed MangelMaxime closed 7 years ago

MangelMaxime commented 7 years ago

Fable 0.7 introduce a new way to distribute Fable librarie references.

This could simplify the use to include Fable-Arch inside our applications because when using .fsproj we can't use anymore because Forge don't understand it for the moment.

  <ItemGroup>
    <Compile Include="node_modules/fable-import-virtualdom/Fable.Helpers.Virtualdom.fs" />
  </ItemGroup>

This shouldn't increase the size of the application because Rollup should:

[...] not only the bundle will skip unused modules (say Async if you only use native JS Promise) but also any function from imported modules that you don't actually need.