Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
build
src
.gitignore
README.md
package-lock.json
package.json
webpack.config.js

README.md

Fable Node.js Bundled App

This is a simple Fable Node.js app which is bundled with webpack. It's basically what we need to start working on Serverless functions for instance.

Requirements

Building and running the app

  • Install JS dependencies: npm install
  • Build Node.js app npm run-script build
  • Try Node.js app node build/App.js

Project structure

npm

JS dependencies are declared in package.json, while package-lock.json is a lock file automatically generated.

Fable-splitter

Webpack is a JS bundler with extensions, like a static dev server that enables hot reloading on code changes. Fable interacts with Webpack through the fable-loader. Configuration for Webpack is defined in the webpack.config.js file.

F#

The sample only contains two F# files: the project (.fsproj) and a source file (.fs) in the src folder.

You can’t perform that action at this time.