Skip to content

Include error report about re-exporting a variable in Web version #1

@GCheung55

Description

@GCheung55

Re-exporting vars like the following does not work:

require: 'A';

exports A, B

var B = function(){};

But this works:

exports A, B

var A = require('A').A;

var B = function(){};

The cli, I've been told, would have reported an error explaining this.

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