Skip to content

trouble integrating hunspell-wasm with Vite. #226

@AK158

Description

@AK158

this is vite config: import { defineConfig } from "vite";

import wasm from "vite-plugin-wasm";
import topLevelAwait from "vite-plugin-top-level-await";

export default defineConfig({
plugins: [
wasm(),
topLevelAwait(),
],

});
hunspell-asm.js?v=530dea21:4495 Uncaught (in promise) TypeError: runtimeModule is not a function
at hunspell-asm.js?v=530dea21:4495:23
at loadModule (hunspell-asm.js?v=530dea21:4651:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions