Skip to content

commonjs example? xsc -m gives error: too many files #252

@dckc

Description

@dckc

I can't get commonjs support to work. Help?!

I added this to my manifest:

    "commonjs": [
        "defined",
        "through"
    ],

but xsc doesn't seem to like -m:

# xsc through.xsb
/home/connolly/projects/moddable/build/bin/lin/release/xsc /home/connolly/projects/agoric/SwingSet/node_modules/through/index.js -m -d -c -e -o /home/connolly/projects/moddable/build/tmp/lin/debug/mc/test-kernel-xs/modules -r through
# error: too many files# error: too many files!

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