Skip to content

Potential AoT webpack loader integration #786

@TheLarkInn

Description

@TheLarkInn

Hi there, I'm Sean from the webpack team!!!

I've had a few requests down the pipeline on whether or not it would be possible to allow a user to do:

index.js

import Foo from "./foo.fs";

const foo = new Foo();

Which would be powered by a websharper-loader (for webpack). The goal is that users could essentially import a .fs file into any JS file and use it like any other JavaScript module. DISCLAIMER: I have 0 C#, F# experience, so you may have to dumb down a few things or explain how the JS ties together etc with the rest of the C#+F# files.

Thanks, and look forward to collaborating!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions