Skip to content

slogsdon/parcel-plugin-fable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.