js: Port Config to ESM

The Config module is shared between the main process, D-Bus
services and tests, which previously prevented it from being
ported to ESM.

The previous commit removed the last outstanding blocker, so
we can now port the last remaining module.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2880>
This commit is contained in:
Florian Müllner
2023-08-07 17:30:22 +02:00
committed by Marge Bot
parent 9546860d05
commit 8a8539ee67
14 changed files with 22 additions and 23 deletions

View File

@ -9,7 +9,7 @@ import * as Params from '../misc/params.js';
import {LoginDialog} from '../gdm/loginDialog.js';
import {UnlockDialog} from '../ui/unlockDialog.js';
const Config = imports.misc.config;
import * as Config from '../misc/config.js';
const DEFAULT_MODE = 'restrictive';