Skip to content

Commit

Permalink
fix: remove crossorigin & nomodule tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Superd22 committed Aug 8, 2022
1 parent bbd0155 commit b36de89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default defineConfig({
transform: (html, ctx) => {
const $ = load(html)
$("[type=module]").remove()
$("script").removeAttr('nomodule').removeAttr('crossorigin ')
return {
html: $.html(),
tags: []
Expand Down

0 comments on commit b36de89

Please sign in to comment.