Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 609 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 609 Bytes

gig-utils

Purpose: more and project-specific configuration, by using bebbi-scripts functions and adding utilities on top.

Contents

Babel

To use, add to package.json:

"babel": {
  "presets": [
    "gig-utils/babel"
  ]
},

storybook (tailwind)

To use,

  • add babel config above
  • add .storybook/main.js:
module.exports = require('gig-utils/sbMain')
  • add .storybook/preview.js:
require('./preview.css')

module.exports = require('gig-utils/sbPreview')
  • add .storybook/preview.css:
@tailwind base;
@tailwind components;
@tailwind utilities;