Skip to content

Commit

Permalink
Fix broken css import in lit template
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Oct 29, 2024
1 parent c6ba4f4 commit 5bb377d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ declare module '*.svg' {
export default content;
}

declare module '*.css' {
declare module '*.css?inline' {
const content: string;
export default content;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { css, unsafeCSS } from 'lit';
import styles from './index.css';
import styles from './index.css?inline';

export const sharedStyles = css`${unsafeCSS(styles)}`;

0 comments on commit 5bb377d

Please sign in to comment.