https://github.com/slogsdon/parcel-plugin-fable
Parcel asset type plugin for Fable
https://github.com/slogsdon/parcel-plugin-fable
fable fsharp parcel-plugin
Last synced: 3 days ago
JSON representation
Parcel asset type plugin for Fable
- Host: GitHub
- URL: https://github.com/slogsdon/parcel-plugin-fable
- Owner: slogsdon
- License: mit
- Created: 2018-01-23T03:41:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T03:28:20.000Z (almost 7 years ago)
- Last Synced: 2025-04-13T00:34:09.385Z (3 days ago)
- Topics: fable, fsharp, parcel-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/parcel-plugin-fable
- Size: 120 KB
- Stars: 21
- Watchers: 3
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-parcel - Fable - Enable F# support via Fable + Babel. (Plugins / JavaScript dialects, other languages)
README
# parcel-plugin-fable
> Parcel asset type plugin for Fable
Featuring:
* [F#](http://fsharp.org/) + [Fable](http://fable.io/)
* [Parcel](https://parceljs.org/)### 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](https://nodejs.org/)
* [Yarn](https://yarnpkg.com/docs/install/) or [npm](https://docs.npmjs.com/getting-started/installing-node)
* [`dotnet` SDK](https://www.microsoft.com/net/download)## 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](example) for a complete project.
## LICENSE
This project is licensed under the MIT License. See [LICENSE](LICENSE) for more details.