Skip to content

Commit

Permalink
fix(vite-plugin): when using ShadowDOM, need to load css as string (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Apr 3, 2024
1 parent d475ddf commit 32e8cc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages-tooling/vite-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default function au(options: {
? s
: s.replace(/\.html$/, '.$au.ts');
},
stringModuleWrap: (id) => `${id}?inline`,
...additionalOptions
});
return result;
Expand Down

0 comments on commit 32e8cc1

Please sign in to comment.