Skip to content
New issue

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

feat(cli): use file services resolver in build stylable #2343

Closed
wants to merge 2 commits into from

Conversation

tzachbon
Copy link
Contributor

Has mentioned here, this gives us a boost in terms of performance which we like in our CLI for big projects that are going to use our integrations (e.g., webpack, rollup) with stc.
The downside is that the resolver has missing features, but they are very advanced, and most modern tools still do not support them as well.


if (resolvedFile === false) {
throw new Error(
`Stylable CLI does not support browser field 'false' values. "${request}" resolved to 'false' from "${context}"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is stylable core handling it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tzachbon tzachbon marked this pull request as ready for review February 21, 2022 14:25
@tzachbon tzachbon self-assigned this Feb 21, 2022
@tzachbon tzachbon added performance build-time and/or runtime performance tooling CLI, stylable-scripts boilerplate labels Feb 21, 2022
@tomrav
Copy link
Collaborator

tomrav commented Jan 2, 2023

Closing for now (keeping branch).

@tomrav tomrav closed this Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance build-time and/or runtime performance tooling CLI, stylable-scripts boilerplate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants