Skip to content

Commit

Permalink
feat: support <script type="module" src"..."> (#260)
Browse files Browse the repository at this point in the history
Co-authored-by: dengyongchi <dengyongchi@kuaishou.com>
  • Loading branch information
yonecdeng and dengyongchi authored May 30, 2024
1 parent bb9dab9 commit b308952
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/index.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ var VueDemi = (function (VueDemi, Vue, VueCompositionAPI) {
}
return VueDemi
})(
(this.VueDemi = this.VueDemi || (typeof VueDemi !== 'undefined' ? VueDemi : {})),
this.Vue || (typeof Vue !== 'undefined' ? Vue : undefined),
this.VueCompositionAPI || (typeof VueCompositionAPI !== 'undefined' ? VueCompositionAPI : undefined)
((globalThis || self).VueDemi = (globalThis || self).VueDemi || (typeof VueDemi !== 'undefined' ? VueDemi : {})),
(globalThis || self).Vue || (typeof Vue !== 'undefined' ? Vue : undefined),
(globalThis || self).VueCompositionAPI || (typeof VueCompositionAPI !== 'undefined' ? VueCompositionAPI : undefined)
);

0 comments on commit b308952

Please sign in to comment.