Did anybody manage to make the current version on ...
# compose-web
m
Did anybody manage to make the current version on compose work with TailwindCSS? Seems to be an incompatibility issue with the style-loader version
Copy code
> Task :jsBrowserDevelopmentRun
Module build failed (from /Users/mihaivo/IdeaProjects/analytics-dashboard/build/js/node_modules/style-loader/dist/cjs.js):
TypeError: this.getOptions is not a function
    at Object.loader (/Users/mihaivo/IdeaProjects/analytics-dashboard/build/js/node_modules/style-loader/dist/index.js:19:24)

✖ 「wdm」: Hash: 5ff516589b37d9b2cf9c
Version: webpack 4.46.0
Time: 1117ms
b
You can set your own style loader version by adding it as devNpm dependency to the sourceset
m
Unfortunately, you can't.
Copy code
> There is already declared version of 'style-loader' with version '3.3.1' which does not intersect with another declared version '3.3.0'
Probably comes from one of
Copy code
implementation(compose.web.core)
                implementation(compose.runtime)
b
Hmm, see if you can force your version with gradle's resolution rules?
m
Unfortunately, it does not get resolved during
Copy code
configurations.all {
    resolutionStrategy.eachDependency {
but during
Copy code
jsPackageJson
any idea how I can edit them?
b
Hmm, you could always parse jsPackageJson output and rewrite deps