<?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 Re: calcite.css Error: Module parse failed ArcGIS Core v5.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-arcgis-core/m-p/1688858#M88251</link>
    <description>&lt;P&gt;Well, of course right after I posted this, I found my issue.&lt;/P&gt;&lt;P&gt;The PostCSS:&amp;nbsp;&lt;SPAN&gt;postcss-loader did work as intended&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I left the following in angular.json&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"styles"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"node_modules/bootstrap/dist/css/bootstrap.css"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"node_modules/@arcgis/core/assets/esri/themes/light/main.css"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Which broke the build.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So, by removing these the build worked.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 06 Mar 2026 00:40:46 GMT</pubDate>
    <dc:creator>ColbyMorris</dc:creator>
    <dc:date>2026-03-06T00:40:46Z</dc:date>
    <item>
      <title>calcite.css Error: Module parse failed ArcGIS Core v5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-arcgis-core/m-p/1688854#M88250</link>
      <description>&lt;P&gt;I am getting the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./node_modules/@arcgis/core/node_modules/@esri/calcite-components/dist/cdn/main.css:1:0 - Error: Module parse failed: Unexpected character '@' (1:0)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This issue has been presented in other threads. However, I still seem to get the issue in v5.0. I am confused as to what the issue is. I have followed multiple solution threads and nothing works.&lt;BR /&gt;&lt;BR /&gt;I have read through the PRs in this github PR and it doesnt solve my solution&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/calcite-design-system/issues/12931" target="_blank"&gt;Version 3.3.0 distributes a file with invalid CSS that breaks Angular testing (`ng test`). Also affects ArcGIS packages. · Issue #12931 · Esri/calcite-design-system&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I followed the Potential Solutions in the above link.&lt;/P&gt;&lt;P&gt;I first updated to angular 21. Surely if angular 20 could fix the parsing error. Then Angular 21 should be no different. This still didn't build the calcite-component.&lt;/P&gt;&lt;P&gt;next I built a custom WebPack where we compiled the .main.css using postCSS. This "Solved" the one issue with calcite-component.main.css But then the light.theme.css had issues building.&lt;/P&gt;&lt;P&gt;Is anyone else still having these issues building their angular apps?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 00:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-arcgis-core/m-p/1688854#M88250</guid>
      <dc:creator>ColbyMorris</dc:creator>
      <dc:date>2026-03-06T00:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: calcite.css Error: Module parse failed ArcGIS Core v5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-arcgis-core/m-p/1688858#M88251</link>
      <description>&lt;P&gt;Well, of course right after I posted this, I found my issue.&lt;/P&gt;&lt;P&gt;The PostCSS:&amp;nbsp;&lt;SPAN&gt;postcss-loader did work as intended&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I left the following in angular.json&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"styles"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"node_modules/bootstrap/dist/css/bootstrap.css"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"node_modules/@arcgis/core/assets/esri/themes/light/main.css"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Which broke the build.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So, by removing these the build worked.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Mar 2026 00:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-css-error-module-parse-failed-arcgis-core/m-p/1688858#M88251</guid>
      <dc:creator>ColbyMorris</dc:creator>
      <dc:date>2026-03-06T00:40:46Z</dc:date>
    </item>
  </channel>
</rss>

