Skip to content

Commit

Permalink
chore: remove emotion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Aug 27, 2024
1 parent e252a8d commit e773d03
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ export const createConfig = ({ entry, rollupOptions }: Props) =>
rollupOptions,
},
plugins: [
// this check in emotion package is not safe enough
// https://github.com/emotion-js/emotion/issues/3196
replaceCodePlugin({
replacements: [
{
from: "typeof HTMLElement !== 'undefined'",
to: "(typeof document !== 'undefined' && typeof HTMLElement !== 'undefined')",
},
],
}),
react(),
replaceCodePlugin({
replacements: [
Expand Down

0 comments on commit e773d03

Please sign in to comment.