Skip to content

fix: remove minification to support subpath exports#3

Merged
jkyberneees merged 1 commit intomainfrom
fix/remove-minification
Mar 28, 2026
Merged

fix: remove minification to support subpath exports#3
jkyberneees merged 1 commit intomainfrom
fix/remove-minification

Conversation

@jkyberneees
Copy link
Copy Markdown
Contributor

The build was minifying all code into a single bundle, which broke the documented import paths like 'fast-injection/decorators'. Now we build each entry point separately without minification, allowing proper module resolution while keeping code readable and debuggable.

  • Removed --minify flag from build:bundle script
  • Added separate entry points for decorators and testing modules
  • All 291 tests pass with improved code readability
  • File sizes remain reasonable (20KB main, 4KB decorators, 20KB testing)

The build was minifying all code into a single bundle, which broke the documented
import paths like 'fast-injection/decorators'. Now we build each entry point
separately without minification, allowing proper module resolution while keeping
code readable and debuggable.

- Removed --minify flag from build:bundle script
- Added separate entry points for decorators and testing modules
- All 291 tests pass with improved code readability
- File sizes remain reasonable (20KB main, 4KB decorators, 20KB testing)
@jkyberneees jkyberneees merged commit 47f293e into main Mar 28, 2026
7 checks passed
@jkyberneees jkyberneees deleted the fix/remove-minification branch March 28, 2026 07:12
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