We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to run the cli on a single .tsx file, I get following error
parser/lib/index.js:10365:23) { code: 'BABEL_PARSE_ERROR', reasonCode: 'MissingOneOfPlugins', loc: Position { line: 16, column: 4, index: 324 }, pos: 324, missingPlugin: [ 'jsx', 'flow', 'typescript' ] }
this is my stylex.json file
{ "input": "./src/Components/ui", "output": "./stylex", "modules_EXPERIMENTAL": ["@stylexjs/open-props"], "styleXBundleName": "stylex_bundle.css" }
One other problem, after installing the cli
I can't just use stylex directly, i need to do npx stylex --config stylex.json or pnpm stylex --config stylex.json
npx stylex --config stylex.json
pnpm stylex --config stylex.json
i get following error
zsh: command not found: stylex
I would expect to be able to use the cli directly, maybe configure the .json file before hand
No response
The text was updated successfully, but these errors were encountered:
Please see the example app using the CLI. You have to use the babelPresets key in the configuration to enable the CLI to understand TS syntax.
babelPresets
We are working on adding more configuration options.
Sorry, something went wrong.
Thank you
No branches or pull requests
Describe the issue
When I try to run the cli on a single .tsx file, I get following error
parser/lib/index.js:10365:23) { code: 'BABEL_PARSE_ERROR', reasonCode: 'MissingOneOfPlugins', loc: Position { line: 16, column: 4, index: 324 }, pos: 324, missingPlugin: [ 'jsx', 'flow', 'typescript' ] }
this is my stylex.json file
{ "input": "./src/Components/ui", "output": "./stylex", "modules_EXPERIMENTAL": ["@stylexjs/open-props"], "styleXBundleName": "stylex_bundle.css" }
One other problem, after installing the cli
I can't just use stylex directly, i need to do
npx stylex --config stylex.json
orpnpm stylex --config stylex.json
i get following error
zsh: command not found: stylex
Expected behavior
I would expect to be able to use the cli directly, maybe configure the .json file before hand
Steps to reproduce
{ "input": "./src/Components/ui", "output": "./stylex", "modules_EXPERIMENTAL": ["@stylexjs/open-props"], "styleXBundleName": "stylex_bundle.css" }
Test case
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: