Skip to content

Using filament.wasm / NPM module as a Node.js dependency #2647

Closed
@sleroux

Description

@sleroux

I've been browsing through the web target for Filament which looks to be for browsers only and was wondering if it was possible to get it running alongside a Node.js application. I figured there's a couple of node/browser polyfills that would be to be involved for fetch and canvas but not sure if there might be something in the prebuilt WASM files that would cause problems. Out of the box the NPM module doesn't work as the Filament global that is defined doesn't get exposed on window like it does on the browser so there's that to contend with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions