Skip to content

Commit

Permalink
fix: use actually dynamic import in dynamic.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Apr 15, 2024
1 parent 587621f commit 32b2deb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/collection2/dynamic.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Collection2.load = function () {
import './main';
}
Collection2.load = async () => {
await import('./main');
}

0 comments on commit 32b2deb

Please sign in to comment.