parcel-plugin-fable
Parcel asset type plugin for Fable
Featuring:
Reasoning
This project was primarily created to combine some new and old technologies in order to see what a more complete project could look like and how the individual parts would work together. Specifics:
- F#: strong, static typing + .NET ecosystem
- Fable: generated JavaScript code from F# sources
- Parcel: frontend asset bundling with minimal configuration
Requirements
- Node.js
- Yarn or npm
dotnet
SDK
Getting Started
yarn add parcel-plugin-fable
Parcel will automatically include any dependencies listed in package.json
that start with parcel-plugin-
, so there is no additional configuration. On first build of a .fsproj
or .fsx
file, fable-splitter
and babel-core
will be added as dependencies and are responsible for transpiling to JavaScript.
See the example for a complete project.
LICENSE
This project is licensed under the MIT License. See LICENSE for more details.