With CDN, instead of
import { someVariableName } from 'ag-grid-community'
,
just use
agGrid.someVariableName
wherever desired.
For example:
const gridOptions = {
columnDefs: columnDefs,
rowData: rowData,
theme: agGrid.themeBalham.withPart(agGrid.colorSchemeDark),
};