---
title: Issue importing modules from CDN
slug: user-guide-10x/issue-importing-modules-from-cdn
docTags: 
createdAt: 2025-12-10T13:28:58.152Z
---

Swimlane noticed that some widgets fail to render on the record and dashboard pages.&#x20;

Upon further investigation, it was discovered that one of the CDNs Swimlane uses to import third-party libraries into widgets (esm.run and unpkg.com) deployed a change recently that broke ESM module resolution in browsers.&#x20;

To switch affected widgets to use a different CDN instead of esm.run or unpkg.com, replace \`unpkg.com\` with \`esm.run\` in any imports in widgets that import third-party dependencies from unpkg.com

Example:

:::BlockQuote
import \{ select } from 'https\://unpkg.com/d3-selection\@1.4.1/src/index.js?module';
:::

Should be replaced with

:::BlockQuote
import \{ select } from 'https\://esm.run/d3-selection\@1.4.1/src/index.js?module';
:::

