Skip to content

Conversation

@handstandsam
Copy link
Collaborator

@handstandsam handstandsam commented Aug 8, 2025

Kotlin JS + Webpack somehow changed between Kotlin version 2.0.0 and 2.1.21.

We need this additional webpack config file to tell webpack to not clear the entire directory before outputting the files. This allows us to match our old behavior and avoid clearing out the resources we intend to keep.

Without this, the webpack task would delete these files:
image

@handstandsam handstandsam merged commit 343b647 into main Aug 8, 2025
4 checks passed
@handstandsam handstandsam deleted the fix-kotlin-2.1.21-resources branch August 8, 2025 02: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