-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddd868f
commit 2984f0c
Showing
7 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...es/babel-plugin-transform-modules-systemjs/test/fixtures/regression/issue-12329/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
let Vec3; | ||
|
||
export class Light { | ||
_color = Vec3; | ||
} |
6 changes: 6 additions & 0 deletions
6
...babel-plugin-transform-modules-systemjs/test/fixtures/regression/issue-12329/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"plugins": [ | ||
"transform-modules-systemjs", | ||
"proposal-class-properties" | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
...s/babel-plugin-transform-modules-systemjs/test/fixtures/regression/issue-12329/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
System.register([], function (_export, _context) { | ||
"use strict"; | ||
|
||
var Light, Vec3; | ||
|
||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
|
||
_export("Light", void 0); | ||
|
||
return { | ||
setters: [], | ||
execute: function () { | ||
_export("Light", Light = class Light { | ||
constructor() { | ||
_defineProperty(this, "_color", Vec3); | ||
} | ||
|
||
}); | ||
} | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters