-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: upgrade storybook and dependencies (#474)
* build: upgrade storybook and dependencies * build: enable jit mode * ci: add babel-helper * ci: upgrade more deps
- Loading branch information
1 parent
238c01c
commit 79503fd
Showing
10 changed files
with
4,734 additions
and
2,766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<style> | ||
.sbdocs .sbdocs-hidden { | ||
display: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
/** @type {import("@types/tailwindcss/tailwind-config").TailwindConfig } */ | ||
module.exports = { | ||
// This "hack" ensures your IDE detects all normal Tailwind classes, while JIT is used when compiling the project. | ||
// All the normal Tailwind classes should show up in code completion. It can't show all the new classes generated by JIT. | ||
mode: process.env.NODE_ENV ? 'jit' : undefined, | ||
purge: ['src/**/*.tsx'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
variants: { | ||
extend: {}, | ||
backgroundColor: [ | ||
'responsive', | ||
'hover', | ||
'focus', | ||
'group-hover', | ||
'odd', | ||
'even', | ||
], | ||
opacity: ['responsive', 'hover', 'focus', 'group-hover'], | ||
display: ['responsive', 'hover', 'focus', 'group-hover'], | ||
}, | ||
plugins: [], | ||
}; |
Oops, something went wrong.
79503fd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: