diff options
author | Evan Welsh <contact@evanwelsh.com> | 2020-12-03 19:35:59 -0600 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2021-02-06 19:50:20 -0800 |
commit | 6f8b3cb39bc3995706e3d092e4733b8f53b5344d (patch) | |
tree | 050d2ca156c026d162d94280590d7ccacfc5a6e1 /js.gresource.xml | |
parent | d155aef23487527f4a29ddb7754505263cf71d10 (diff) | |
download | gjs-6f8b3cb39bc3995706e3d092e4733b8f53b5344d.tar.gz |
esm: Enable static module imports.
(Changes from Philip folded in: tests, moving file operations into
internal.cpp, store module loader in global, some renames, some added
comments)
Diffstat (limited to 'js.gresource.xml')
-rw-r--r-- | js.gresource.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js.gresource.xml b/js.gresource.xml index bdb6b665..61193ab0 100644 --- a/js.gresource.xml +++ b/js.gresource.xml @@ -3,6 +3,12 @@ <!-- SPDX-FileCopyrightText: 2014 Red Hat, Inc. --> <gresources> <gresource prefix="/org/gnome/gjs"> + <!-- Internal modules --> + <file>modules/internal/internalLoader.js</file> + <file>modules/internal/loader.js</file> + + <!-- ESM-based modules --> + <file>modules/esm/gi.js</file> <!-- Script-based Modules --> <file>modules/script/_bootstrap/debugger.js</file> <file>modules/script/_bootstrap/default.js</file> |