<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic calcite.css Error: Module parse failed with custom webpack in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-with-custom/m-p/1657600#M87718</link>
    <description>&lt;P&gt;I'm working on an angular project that uses &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/map-components. When I upgraded to Angular 19, I received an error message stating that my project could not start.&amp;nbsp;Error calcite.css:1:0 - Error: Module parse failed: Unexpected character '@' .&amp;nbsp; I'm using a modified webpack to reduce bundle size and get rid of unnecessary modules, such as those related to 3D and that could be the issue. It still doesn't work even after I changed webpack.config.js&amp;nbsp;&lt;/P&gt;&lt;P&gt;{ test: /\.css$/i, oneOf: [ { resourceQuery: /ngGlobalStyle/, use: ['style-loader','css-loader','postcss-loader'] }, { use: ['style-loader','css-loader','postcss-loader'] } ]}&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./node_modules/@esri/calcite-components/dist/calcite/calcite.css:1:0 - Error: Module parse failed: Unexpected character '@' (1:0)&lt;BR /&gt;You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See &lt;A href="https://webpack.js.org/concepts#loaders" target="_blank"&gt;https://webpack.js.org/concepts#loaders&lt;/A&gt;&lt;BR /&gt;&amp;gt; @layer{&lt;BR /&gt;| :not([calcite-hydrated]):is(calcite-accordion,calcite-accordion-item,calcite-action,calcite-action-bar,calcite-action-group,calcite-action-menu,calcite-action-pad,calcite-alert,calcite-autocomplete,calcite-autocomplete-item,calcite-autocomplete-item-group,calcite-avatar,calcite-block,calcite-block-group,calcite-block-section,calcite-button,calcite-card,calcite-card-group,calcite-carousel,calcite-carousel-item,calcite-checkbox,calcite-chip,calcite-chip-group,calc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 07:45:53 GMT</pubDate>
    <dc:creator>thanasiskoubaros</dc:creator>
    <dc:date>2025-10-14T07:45:53Z</dc:date>
    <item>
      <title>calcite.css Error: Module parse failed with custom webpack</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-with-custom/m-p/1657600#M87718</link>
      <description>&lt;P&gt;I'm working on an angular project that uses &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/map-components. When I upgraded to Angular 19, I received an error message stating that my project could not start.&amp;nbsp;Error calcite.css:1:0 - Error: Module parse failed: Unexpected character '@' .&amp;nbsp; I'm using a modified webpack to reduce bundle size and get rid of unnecessary modules, such as those related to 3D and that could be the issue. It still doesn't work even after I changed webpack.config.js&amp;nbsp;&lt;/P&gt;&lt;P&gt;{ test: /\.css$/i, oneOf: [ { resourceQuery: /ngGlobalStyle/, use: ['style-loader','css-loader','postcss-loader'] }, { use: ['style-loader','css-loader','postcss-loader'] } ]}&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./node_modules/@esri/calcite-components/dist/calcite/calcite.css:1:0 - Error: Module parse failed: Unexpected character '@' (1:0)&lt;BR /&gt;You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See &lt;A href="https://webpack.js.org/concepts#loaders" target="_blank"&gt;https://webpack.js.org/concepts#loaders&lt;/A&gt;&lt;BR /&gt;&amp;gt; @layer{&lt;BR /&gt;| :not([calcite-hydrated]):is(calcite-accordion,calcite-accordion-item,calcite-action,calcite-action-bar,calcite-action-group,calcite-action-menu,calcite-action-pad,calcite-alert,calcite-autocomplete,calcite-autocomplete-item,calcite-autocomplete-item-group,calcite-avatar,calcite-block,calcite-block-group,calcite-block-section,calcite-button,calcite-card,calcite-card-group,calcite-carousel,calcite-carousel-item,calcite-checkbox,calcite-chip,calcite-chip-group,calc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 07:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-with-custom/m-p/1657600#M87718</guid>
      <dc:creator>thanasiskoubaros</dc:creator>
      <dc:date>2025-10-14T07:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: calcite.css Error: Module parse failed with custom webpack</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-with-custom/m-p/1657778#M87721</link>
      <description>&lt;P&gt;There was recently an issue on this in the calcite repo.&lt;/P&gt;&lt;P&gt;You can view the solution here:&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-design-system/issues/12931#issuecomment-3366724689" target="_blank"&gt;https://github.com/Esri/calcite-design-system/issues/12931#issuecomment-3366724689&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you're angular set up is close their example app, there are couple of spots in the angular json you can update.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 18:27:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-with-custom/m-p/1657778#M87721</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2025-10-14T18:27:14Z</dc:date>
    </item>
  </channel>
</rss>

