How To
Issue importing modules from CDN
1 min
swimlane noticed that some widgets fail to render on the record and dashboard pages 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 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 import { select } from 'https //unpkg com/d3 selection\@1 4 1/src/index js?module'; should be replaced with import { select } from 'https //esm run/d3 selection\@1 4 1/src/index js?module';