Skip to content

SyntaxError: redeclaration of const $_documentContainer on Firefox #315

@e111077

Description

@e111077

repro case:

// a.js
const foo = 'bar';

// b.js
const foo = 'baz';
// index.html
<script type="module">
  import './a.js';
  import './b.js';
</script>

This will cause a SyntaxError: redeclaration of const foo on Firefox. I assume this may happen to other transformed browsers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions