Guest User

Untitled

a guest
Nov 14th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # Babel Plugin for Automated Style imports of @zendeskgarden/react-* components
  2.  
  3. This babel plugin could be used by a consumer to remove the need to manually add `@zendeskgarden/react-*/dist/styles.css`
  4. to their applications. It also de-duplicates any usages.
  5.  
  6. To test locally you can reference the file directly:
  7.  
  8. ```
  9. # Dependencies
  10.  
  11. npm install @babel/helper-module-imports
  12. ```
  13.  
  14. ```
  15. # .babelrc
  16.  
  17. {
  18. plugins: ["./babel-plugin-zendesk-garden-styles"]
  19. }
  20. ```
Add Comment
Please, Sign In to add comment