diff options
author | Pauline <git@ethanlibs.co> | 2023-11-26 22:55:04 -0500 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-11-26 22:55:04 -0500 |
commit | 181547a25213bee8a20002e07344b957386c4d0f (patch) | |
tree | 1e1b4815166342406026478c00604cdd65e64660 /apps/storybook/postcss.config.ts | |
parent | 955e820f1ccb59467a4f27c5c77738a7ebff193e (diff) | |
download | Nexus-181547a25213bee8a20002e07344b957386c4d0f.tar.gz Nexus-181547a25213bee8a20002e07344b957386c4d0f.tar.bz2 Nexus-181547a25213bee8a20002e07344b957386c4d0f.zip |
feat(build): transfer everything to esm/ts
Diffstat (limited to 'apps/storybook/postcss.config.ts')
-rw-r--r-- | apps/storybook/postcss.config.ts | 18 |
1 files changed, 18 insertions, 0 deletions
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; |