Skip to content

import.meta breaks Jest tests #19

@jamesgpearce

Description

@jamesgpearce

This new line is causing me some problems with Jest ("Cannot use 'import.meta' outside a module"). Until recently, I could transpile the crsqlite-wasm module.

https://github.com/vlcn-io/js/blame/30c8d32598d4f538900883507300c0727bfb465d/packages/crsqlite-wasm/src/serialize.ts#L44

I figure I can work around it, but just a heads-up.

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