<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: nvish-dilpreetkaur</title>
    <description>The latest articles on Forem by nvish-dilpreetkaur (@dilpreetkaur).</description>
    <link>https://forem.com/dilpreetkaur</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F844081%2F4233d359-a91e-42d2-b4b9-f6ec998d439f.png</url>
      <title>Forem: nvish-dilpreetkaur</title>
      <link>https://forem.com/dilpreetkaur</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/dilpreetkaur"/>
    <language>en</language>
    <item>
      <title>Missing Webpack Loader Running Cypress test with React</title>
      <dc:creator>nvish-dilpreetkaur</dc:creator>
      <pubDate>Fri, 08 Apr 2022 08:40:33 +0000</pubDate>
      <link>https://forem.com/dilpreetkaur/missing-webpack-loader-running-cypress-test-with-react-276f</link>
      <guid>https://forem.com/dilpreetkaur/missing-webpack-loader-running-cypress-test-with-react-276f</guid>
      <description>&lt;p&gt;I am trying to run cypress test cases headless using cmd command&lt;/p&gt;

&lt;p&gt;npx cypress run&lt;br&gt;
But it gives me below error -&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lyiv77PC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ajo17r74d8lahcaxc5a2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lyiv77PC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ajo17r74d8lahcaxc5a2.png" alt="Image description" width="880" height="485"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do I need to install any dependency for this to load. Even css files are not getting loaded.&lt;/p&gt;

&lt;p&gt;Also, do I need to create webpack config separately.&lt;/p&gt;

&lt;p&gt;I installed css-loader and style-loader as dev dependency, and created webpack.cypress.config.js with below contents -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;module.exports = {
    module: {
      rules: [
        {
          test: /\.css$/i,
          use: ["style-loader", "css-loader"],
        },
      ],
    },
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But this is not working.&lt;/p&gt;

</description>
      <category>react</category>
      <category>cypres</category>
      <category>webpack</category>
    </item>
  </channel>
</rss>
