-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * remove declaration override * append stylex styles * fix things * fix bottom margin * remove dev runtime * revert thing * revert * use stylex for keyframe animations * pass logo url via function * update stylex version * Fix generated CSS containing a bunch of `:not(#\#)`s. See [this issue](facebook/stylex#370) for more info. * add eslint plugin to validate stylex styles * use numbers that default to px * use numbers more
- Loading branch information
Showing
10 changed files
with
373 additions
and
86 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
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,29 @@ | ||
import styleXPlugin from '@stylexjs/babel-plugin'; | ||
|
||
const config = { | ||
// presets: [ | ||
// "@babel/preset-env", | ||
// "@babel/preset-typescript" | ||
// ], | ||
plugins: [ | ||
[ | ||
styleXPlugin, | ||
{ | ||
dev: true, | ||
// Set this to true for snapshot testing | ||
// default: false | ||
test: false, | ||
// Required for CSS variable support | ||
unstable_moduleResolution: { | ||
// type: 'commonJS' | 'haste' | ||
// default: 'commonJS' | ||
type: 'commonJS', | ||
// The absolute path to the root directory of your project | ||
rootDir: __dirname, | ||
}, | ||
}, | ||
], | ||
], | ||
}; | ||
|
||
export default config; |
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
Oops, something went wrong.