Anber / wyw-in-js

MIT License
191 stars 8 forks source link

feat(esbuild): filter option that allows to process only specific files #50

Closed Anber closed 4 months ago

Anber commented 4 months ago

Motivation

A well-maintained code base can have styles only in specific files (e.g., Button.styles.ts). By default, wyw processes all files in an attempt to find styles for extraction. The new option filter allows to limit such useless work.

Summary

For now, filter has been introduced only for esbuild.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 4ee62e10b57c56198afe6f7553e38f4f78a19bd4

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR