<?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 library makerjs.js starts with require. I can't import it into web AppBuilder in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/library-makerjs-js-starts-with-require-i-can-t/m-p/1318662#M14928</link>
    <description>&lt;P&gt;I develop custom widgets on ESRI WEB AppBuilder (developer edition)&lt;/P&gt;&lt;P&gt;I want to use the library "maker.js" for building DXF format files.&lt;/P&gt;&lt;P&gt;The library url is either&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://maker.js.org/target/js/browser.maker.js" target="_blank" rel="noopener"&gt;https://maker.js.org/target/js/browser.maker.js&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is also in&amp;nbsp;&lt;A href="https://cdn.jsdelivr.net/npm/makerjs@0/target/js/browser.maker.js" target="_blank" rel="noopener"&gt;https://cdn.jsdelivr.net/npm/makerjs@0/target/js/browser.maker.js&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The library starts with "require" and maybe this is the reason I failed to import it -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried doing according to&amp;nbsp;&lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm&lt;/A&gt;&amp;nbsp;and also according to&amp;nbsp;&lt;A href="https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-do-i-import-javascript-libraries-in-a-strictly/td-p/787942" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-do-i-import-javascript-libraries-in-a-strictly/td-p/787942&lt;/A&gt;&amp;nbsp;but it all failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Help will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 13:43:49 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2023-08-15T13:43:49Z</dc:date>
    <item>
      <title>library makerjs.js starts with require. I can't import it into web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/library-makerjs-js-starts-with-require-i-can-t/m-p/1318662#M14928</link>
      <description>&lt;P&gt;I develop custom widgets on ESRI WEB AppBuilder (developer edition)&lt;/P&gt;&lt;P&gt;I want to use the library "maker.js" for building DXF format files.&lt;/P&gt;&lt;P&gt;The library url is either&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://maker.js.org/target/js/browser.maker.js" target="_blank" rel="noopener"&gt;https://maker.js.org/target/js/browser.maker.js&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is also in&amp;nbsp;&lt;A href="https://cdn.jsdelivr.net/npm/makerjs@0/target/js/browser.maker.js" target="_blank" rel="noopener"&gt;https://cdn.jsdelivr.net/npm/makerjs@0/target/js/browser.maker.js&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The library starts with "require" and maybe this is the reason I failed to import it -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried doing according to&amp;nbsp;&lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm&lt;/A&gt;&amp;nbsp;and also according to&amp;nbsp;&lt;A href="https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-do-i-import-javascript-libraries-in-a-strictly/td-p/787942" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-do-i-import-javascript-libraries-in-a-strictly/td-p/787942&lt;/A&gt;&amp;nbsp;but it all failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Help will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 13:43:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/library-makerjs-js-starts-with-require-i-can-t/m-p/1318662#M14928</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2023-08-15T13:43:49Z</dc:date>
    </item>
  </channel>
</rss>

