refactor(sandbox): replace require with import
This commit is contained in:
@@ -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>>();
|
||||
|
||||
Reference in New Issue
Block a user