8000 webpack es5 commonjs module results in empty exports object · Issue #25 · malaporte/nashorn-commonjs-modules · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
webpack es5 commonjs module results in empty exports object #25
Open
@maybeec

Description

@maybeec

I am trying to call a small library build with webpack2. It is configured to result in a es5, commonjs bundle. I am using nashorn-commonjs-module to import it by evaluating module = require('importModule');.
importModule contains a default export to a function served as the API, which I want to call.

However, module is evaluate to an empty object. There are no exports, nothing... any idea? Did I get something wrong?

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

      0