Closed jantimon closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-yak-benchmark | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 14, 2024 7:32am |
yacijs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 14, 2024 7:32am |
The changes streamline the import and export mechanisms in the next-yak
package. Key updates include consolidating import statements in test files, refining the babel plugin’s method for importing runtime helpers, removing redundant export paths from package.json
, and enhancing the internal.ts
to export additional runtime helpers. Configuration for runtime internals was also removed from tsup.config.ts
.
Files / Groups | Change Summary |
---|---|
.../__tests__/tsloader.test.ts |
Consolidated imports of css and __yak_mergeCssProp from next-yak/internal . |
babel-yak-plugin.ts |
Modified to add all runtime helpers directly to yakImportPath instead of creating new import declarations for each. |
package.json |
Removed the export path for "./runtime-internals" , retained "./internal" . |
runtime/internal.ts |
Added exports for unitPostFix and mergeCssProp from ./internals/unitPostFix.js and ./internals/mergeCssProp.js . |
tsup.config.ts |
Removed configuration for runtime internals in runtime/internals/index.ts . |
In the land of Yak, where code does play,
Imports now dance in a streamlined way.
Helpers gather, no more diffuse,
A tidy package, for all to use.
Postfixes unite, merge props in cheer,
A cleaner, swifternext-yak
is here!
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Comparing feature/export-only-one-internals-package
(e76e2a3) with main
(12f1bd2)
⚡ 1
improvements
✅ 1
untouched benchmarks
Benchmark | main |
feature/export-only-one-internals-package |
Change | |
---|---|---|---|---|
⚡ | render KanjiLetterComponentYak |
170.1 ms | 138 ms | +23.3% |
next-yak/runtime-internals
intonext-yak/internal
(and dropnext-yak/runtime-internals
)