Skip to content

Add support for import.meta when emitting SystemJS modules #32792

@rbuckton

Description

@rbuckton

import.meta and import.meta.url

console.log(import.meta);
console.log(import.meta.url);

->

System.register([], function (exports, context) {
  return {
    setters: [],
    execute: function () {
      console.log(context.meta);
      console.log(context.meta.url);
    }
  };
});

Originally posted by @guybedford in #26606

Metadata

Metadata

Assignees

Labels

FixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions