Skip to content

Default exports don't work #12

@swansontec

Description

@swansontec

If an entry point has a default export, like export default 1, this plugin's export * from 'entry' strategy won't include that.

Apparently * doesn't include the export named default. You can use the rollup REPL to play around with this.

Possible solutions:

  1. Include an export { default } from './b.js' line in the generated output, iff the input has a default export.
  2. Finally get around to implementing Consider copying the file content instead of exporting it #7, in which case we will work correctly regardless.

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