title: How to add tailwindcss to KotlinJS
body: <p>I am unable to add the tailwindcss library to my KotlinJS project. I tried multiple things.</p>
  <p>I have multiple dependencies defined in my <em>build.gradle.kts</em></p>
  <pre><code>implementation(npm(&quot;postcss&quot;, &quot;latest&quot;))
  implementation(npm(&quot;postcss-loader&quot;, &quot;latest&quot;))
  implementation(npm(&quot;tailwindcss&quot;, &quot;1.8.10&quot;))
  </code></pre>
  <p>I tried creating a <em>tailwindcss.js</em> in my <em>webpack.config.d</em> with this content</p>
  <pre><code>config.module.rules.push({
          test: /\.css$/i,
          use: [
              'style-loader',
              'css-loader',
              {
                  loader: 'postcss-loader',
                  options: {
                      postcssOptions: {
                          plugins: [
                              [
                                  'tailwindcss'
                              ],
                          ],
                      },
                  },
              }
          ]
      }
  );
  </code></pre>
  <p>But that doesn't do anything. I also tried modifying this with multiple options, but I was never able to get tailwindcss to compile. I also tried disabling and enabling the KotlinJS CSS support in <em>build.gradle.kts</em></p>
  <p>I can't find any info on how to add postcss to KotlinJS project.</p>
  <p>Thank you for any help.</p>