refactor(sandbox): replace require with import

This commit is contained in:
Jack Westbrook
2025-03-03 09:05:29 +01:00
parent 8daeb1b8e3
commit e2bacbc74a
@@ -22,7 +22,7 @@ import { logError, logInfo } from './utils';
// Loads near membrane custom formatter for near membrane proxy objects.
if (process.env.NODE_ENV !== 'production') {
require('@locker/near-membrane-dom/custom-devtools-formatter');
import('@locker/near-membrane-dom/custom-devtools-formatter');
}
const pluginImportCache = new Map<string, Promise<System.Module>>();