Skip to content

Conversation

eastgold15
Copy link

  • Add support for string arrays as glob mode
  • Add support for ignoring mode (starting with '!')
  • Optimize path processing under Windows systems, use forward slash instead of backslash
  • Improve glob processing logic in Bun and Node.js environments

…optimizes automatic loading logic

- Extend globSync function to support glob patterns in array form, including exclusion patterns
- Optimize the implementation of autoload plug-in, add debug logs and path normalization
- Refactor file import logic, use static mapping instead of dynamic scanning
- Add compatibility treatment for backslashes in paths
- Supports glob mode in array form, including ignorance mode
- Add debug logs to display path processing and file matching results
- Optimize path processing under Windows system
- Fixed path issues with elysia-autoload
@eastgold15
Copy link
Author

I modified elysia-autoload and esbuild-plugin-autoload, and added an example test to esbuild-plugin-autoload. After I tested it, there was no problem, and the packaged exe could run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant