You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
//boot.js
var main = require('./main.js')
main.boot()
//main.js
export async function boot() {
await new Promise(function(resolve, reject) {
console.log('hello world');
setTimeout(function() {
resolve();
}, 1000);
})
console.log('hello world after 1s!');
}
This one works with webpack but systemjs:
//boot.js
var main = require('./main.js')
//main.js
(async function boot() {
await new Promise(function(resolve, reject) {
console.log('hello world');
setTimeout(function() {
resolve();
}, 1000);
})
console.log('hello world after 1s!');
})()
Not sure is it an issue
Edit:
Works after adding this: export var p = 5;
More precisely, in configuration: