mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Update transpilation example to Babel 6 and remove system.js
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import Greeting from './greeting.js';
|
||||
class Greeting {
|
||||
getMessage() {
|
||||
return 'Hello from the ES2015 class';
|
||||
}
|
||||
}
|
||||
|
||||
console.log(new Greeting().getMessage());
|
||||
|
||||
Reference in New Issue
Block a user