Skip to content

Commit

Permalink
Remove "demo/webpack.config.d/material-icons-css.js" and the "materia…
Browse files Browse the repository at this point in the history
…l-icons" dependency completely to resolve a build error when running `:wasmJsBrowserProductionWebpack`

The dependency and the Webpack script seem no longer needed anymore. `:jsBrowserProductionRun` shows the icons currently without them.
  • Loading branch information
ShreckYe committed Mar 21, 2024
1 parent 66b381c commit 7fe0a06
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions demo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ kotlin {
jsMain {
dependencies {
implementation(compose.html.core)

implementation(npm("material-icons", DependencyVersions.materialIcons))
}
}
}
Expand Down
5 changes: 0 additions & 5 deletions demo/webpack.config.d/material-icons-css.js

This file was deleted.

2 changes: 1 addition & 1 deletion kotlin-js-store/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"

material-icons@1.13.12, material-icons@^1.13.12:
material-icons@^1.13.12:
version "1.13.12"
resolved "https://registry.yarnpkg.com/material-icons/-/material-icons-1.13.12.tgz#eed4082bf0426642edeb027e75397e3064adc536"
integrity sha512-/2YoaB79IjUK2B2JB+vIXXYGtBfHb/XG66LvoKVM5ykHW7yfrV5SP6d7KLX6iijY6/G9GqwgtPQ/sbhFnOURVA==
Expand Down

0 comments on commit 7fe0a06

Please sign in to comment.