support import.meta in system transform
This commit is contained in:
@@ -0,0 +1 @@
|
||||
console.log(import.meta.url);
|
||||
@@ -0,0 +1,10 @@
|
||||
System.register([], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
setters: [],
|
||||
execute: function () {
|
||||
console.log(_context.meta.url);
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "syntax-dynamic-import", "transform-modules-systemjs"]
|
||||
"plugins": ["external-helpers", "syntax-dynamic-import", "syntax-import-meta", "transform-modules-systemjs"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user