frontend/src/polyfills.ts

6 lines
231 B
TypeScript

// in order to use postcss-preset-env correctly we need some client side plugins
import focusWithinInit from 'postcss-focus-within/browser'
import cssHasPseudo from 'css-has-pseudo/browser'
focusWithinInit()
cssHasPseudo(document)