Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a redundancy warning to skiko.js for k/wasm target #5134

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

eymar
Copy link
Member

@eymar eymar commented Sep 10, 2024

skiko.js used to be required for k/wasm projects. But some time ago it was refactored to use skiko.mjs, so skiko.js is not needed anymore (for k/wasm, still needed for k/js). But there are k/wasm projects still including skiko.js in index.html which leads to extra loading time. The intention is to notify them without causing 404 errors for now.

Testing

  • updated a test
  • tested manually
Screenshot 2024-09-10 at 15 34 41

Release Notes

Highlights - Web

  • skiko.js is redundant in case of K/Wasm Compose Multiplatform for web applications and it can be removed from index.html files to not load redundant files. skiko.js will be removed from the k/wasm distribution in the future releases. skiko.js is still needed in case of K/JS Compose Multiplatform for web apps.

@eymar eymar requested a review from Schahen September 10, 2024 13:37
skiko.js used to be required for k/wasm projects. But some time ago it was refactored to use skiko.mjs, so skiko.js is not needed anymore (for k/wasm, still needed for k/js). But some k/wasm  projects still include skiko.js in index.html which leads to extra loading time. The intention is to notify them without causing 404 errors for now.
@eymar eymar force-pushed the ok/warn_about_skikojs_in_kwasm_app branch from cf2149d to 76e7c2b Compare September 11, 2024 09:46
@eymar eymar merged commit 8b56020 into master Sep 11, 2024
12 checks passed
@eymar eymar deleted the ok/warn_about_skikojs_in_kwasm_app branch September 11, 2024 11:48
eymar added a commit that referenced this pull request Sep 11, 2024
skiko.js used to be required for k/wasm projects. But some time ago it
was refactored to use skiko.mjs, so skiko.js is not needed anymore (for
k/wasm, still needed for k/js). But there are k/wasm projects still
including skiko.js in index.html which leads to extra loading time. The
intention is to notify them without causing 404 errors for now.

## Testing
- updated a test
- tested manually

<img width="856" alt="Screenshot 2024-09-10 at 15 34 41"
src="https://github.com/user-attachments/assets/9ad9b790-d3fa-4907-b9ee-f5e682f38858">

## Release Notes
### Highlights - Web
- `skiko.js` is redundant in case of K/Wasm Compose for Web applications
and it can be removed from index.html files to not load redundant files.
We are going to remove `skiko.js` from the k/wasm distribution in the
future releases. `skiko.js` is still needed in case of K/JS Compose for
Web apps.

(cherry picked from commit 8b56020)
@igordmn
Copy link
Collaborator

igordmn commented Sep 19, 2024

Changed:

We are going to remove `skiko.js` from the k/wasm distribution in the future releases

to:

`skiko.js` will be removed from the k/wasm distribution in the future releases

@igordmn
Copy link
Collaborator

igordmn commented Sep 30, 2024

Applied to Release notes:
#5142 (comment)

Tweener added a commit to Tweener/czan that referenced this pull request Oct 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants