convex-js
convex-js copied to clipboard
Add ignore package and implement .convexignore support in bundler
- Added the
ignorepackage to dependencies. - Implemented loading and processing of
.convexignorefiles in the bundler to skip specified files during the build process. - Updated entry point logic to respect ignore patterns.
This enhances the build process by allowing users to exclude files from being processed based on their ignore configuration. This brings both Typescript performance boosts and reduced circular dependency relateded issues
This is a good idea but I'd like to think more about it since we're going to be stuck with it forever. The main alternative I'm thinking about is an include list, specifying a glob for listing entry points instead of files to ignore. Re configuration, this might be something that goes in a convex.json instead of a new filename.
I'll leave this open for now for comment, I don't think it's going to be accepted in its current form but we need to talk about how this might be done. If there's not something equivalent in a couple months then bring this back up as "well, if you're not going to do something let's do this in the meantime".