You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After this PR augmented 110 bytes of the code, so it is now 4kb instead of 3kb. The goal is to reduce these 110 bytes of golfing as much as possible in this file.
To measure, we can use this shell command:
bun build --minify --target=bun brisa/packages/brisa/src/utils/brisa-element/index.ts | wc -c
Also important to verify the tests:
bun test brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx --watch
and
bun test brisa/packages/brisa/src/utils/brisa-element/index.test.ts --watch
It appears like 7kb because is not removing the flags, but is a good reference to check to reduce these 110 extra bytes.
Important
Now this task is blocked until this PR will be merged to start golfing.
The text was updated successfully, but these errors were encountered:
Brisa element: https://github.com/brisa-build/brisa/blob/canary/packages/brisa/src/utils/brisa-element/index.ts
After this PR augmented 110 bytes of the code, so it is now 4kb instead of 3kb. The goal is to reduce these 110 bytes of golfing as much as possible in this file.
To measure, we can use this shell command:
bun build --minify --target=bun brisa/packages/brisa/src/utils/brisa-element/index.ts | wc -c
Also important to verify the tests:
bun test brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx --watch
and
bun test brisa/packages/brisa/src/utils/brisa-element/index.test.ts --watch
It appears like 7kb because is not removing the flags, but is a good reference to check to reduce these 110 extra bytes.
Important
Now this task is blocked until this PR will be merged to start golfing.
The text was updated successfully, but these errors were encountered: