-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
18 lines (18 loc) · 919 Bytes
/
postcss.config.js
File metadata and controls
18 lines (18 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* References for Tailwind/Storybook configuration:
* - https://github.com/postcss/postcss-scss
* - https://lifesaver.codes/answer/a-working-example-with-postcss-for-storybook-v5
* - https://medium.com/@rbutera/jamstack-tutorial-part-1-gatsbyjs-with-storybook-tailwindcss-and-typescript-setup-bd28855db897
* - https://dev.to/0xcap/nextjs-typescript-tailwindcss-storybook-project-setup-4clj
* - https://medium.com/@romansorin/integrating-gatsby-tailwind-and-storybook-90b4f76d0fc7
* - https://medium.com/better-programming/start-a-component-library-with-storybook-tailwind-css-and-typescript-ebaffc33d098
* - https://dev.to/michaeldscherr/switching-from-sass-to-postcss-4p0c
*/
module.exports = {
syntax: 'postcss-scss',
plugins: [
// Note: adding postcss-import plugin here removed my default-theme.scss from the tailwind build
// require('postcss-import'),
require('autoprefixer'),
],
};