Skip to content

Commit 0db4b98

Browse files
committed
Fix resource-initiators and lazy ESM import example
1 parent 0198af6 commit 0db4b98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

resource-initiators/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fetch('scripts/fetched.js')
1313
});
1414

1515
// Dynamic import within a module
16-
import('./scripts/another-module.js').then((module) => {
16+
import('./scripts/lazy-import-module.js').then((module) => {
1717
console.log('dynamically imported module loaded', module);
1818
});
1919

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('lazy loaded module');

0 commit comments

Comments
 (0)