From 181547a25213bee8a20002e07344b957386c4d0f Mon Sep 17 00:00:00 2001 From: Pauline Date: Sun, 26 Nov 2023 22:55:04 -0500 Subject: feat(build): transfer everything to esm/ts --- apps/storybook/postcss.config.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/storybook/postcss.config.ts (limited to 'apps/storybook/postcss.config.ts') diff --git a/apps/storybook/postcss.config.ts b/apps/storybook/postcss.config.ts new file mode 100644 index 0000000..a94bdf1 --- /dev/null +++ b/apps/storybook/postcss.config.ts @@ -0,0 +1,18 @@ +import autoprefixer from 'autoprefixer'; +import tailwindcss from 'tailwindcss'; + +// @ts-expect-error no typings for this +import pseudo from 'postcss-pseudo-companion-classes'; + +const config = { + plugins: [ + autoprefixer(), + tailwindcss(), + pseudo({ + prefix: 'sb-pseudo--', + restrictTo: [':hover', ':focus'], + }), + ], +}; + +export default config; -- cgit