hfhbd
06/02/2022, 8:28 PM@JsModule("@bootstrap/scss/_buttons.scss") private external val Style: dynamic
to load the style via web pack, similar what kmdc does, but who does it work as a consumer? My showcase project fails with: bootstrap module not found, because it should not explicit depend on this npm module: https://github.com/hfhbd/bootstrap-compose/pull/195Big Chungus
06/02/2022, 8:33 PMBig Chungus
06/02/2022, 8:33 PMhfhbd
06/02/2022, 8:39 PMBig Chungus
06/02/2022, 8:40 PMhfhbd
06/02/2022, 8:41 PMModule not found: Error: Can't resolve '@bootstrap/js/src/button.js' in '/Users/philipwedemann/GitHub/bootstrap-compose/build/js/packages/bootstrap-compose-showcase/kotlin'
hfhbd
06/02/2022, 8:42 PMimplementation(projects.bootstrapCompose)
and not bootstrap itself. Is it still required?Big Chungus
06/02/2022, 8:44 PM@bootstrap/js/src/button.js
it's not a (s)css module, something else is wrong
2. Consumer also needs bootstrap on the node path, of course. You can propagate that as a transitive dependency by declaring it as api(npm("bootstrap", "version"))
as opposed to implementation()
in your libhfhbd
06/02/2022, 8:47 PMModule not found: Error: Can't resolve '@bootstrap/scss/_buttons.scss' in '/Users/philipwedemann/GitHub/bootstrap-compose/build/js/packages/bootstrap-compose-showcase/kotlin'
2. yeah, I use api in my wrapper project: api(npm("bootstrap", "5.1.3"))
Big Chungus
06/02/2022, 11:02 PMhfhbd
06/03/2022, 7:47 AMBig Chungus
06/03/2022, 9:17 AMBig Chungus
06/03/2022, 9:20 AMbootstrap/scss/bootstrap.scss
hfhbd
06/03/2022, 9:25 AMBig Chungus
06/03/2022, 9:25 AMhfhbd
06/03/2022, 9:26 AMBig Chungus
06/03/2022, 9:26 AMhfhbd
06/03/2022, 9:31 AMBig Chungus
06/03/2022, 9:33 AMBig Chungus
06/03/2022, 9:34 AMhfhbd
06/03/2022, 9:50 AMBig Chungus
06/03/2022, 9:52 AMhfhbd
06/03/2022, 12:32 PM