From d93f61f9479b49fd6fdd278b4021fae968f7b650 Mon Sep 17 00:00:00 2001 From: Pascal Garber Date: Thu, 11 Jul 2024 10:09:51 +0200 Subject: [PATCH] Cleanup esbuild.js files --- examples/gio-2-cat/esbuild.js | 1 - examples/gio-2-dbus/esbuild.js | 1 - examples/gio-2-list-model/esbuild.js | 3 +-- examples/glib-2-variant/esbuild.js | 3 +-- examples/gtk-3-calc/esbuild.js | 1 - examples/gtk-3-gettext/esbuild.js | 1 - examples/gtk-3-hello-2/esbuild.js | 1 - examples/gtk-3-template/esbuild.js | 1 - examples/gtk-3-webkit/esbuild.js | 1 - examples/gtk-4-application/esbuild.js | 1 - examples/gtk-4-custom-widget/esbuild.js | 1 - examples/gtk-4-list-store/esbuild.js | 3 +-- examples/gtk-4-template/esbuild.js | 1 - examples/run-async/esbuild.js | 3 +-- examples/soup-3-http/esbuild.js | 1 - examples/soup-3-websocket/esbuild.js | 1 - examples/timers/esbuild.js | 1 - 17 files changed, 4 insertions(+), 21 deletions(-) diff --git a/examples/gio-2-cat/esbuild.js b/examples/gio-2-cat/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gio-2-cat/esbuild.js +++ b/examples/gio-2-cat/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gio-2-dbus/esbuild.js b/examples/gio-2-dbus/esbuild.js index 94462793..6d83c100 100644 --- a/examples/gio-2-dbus/esbuild.js +++ b/examples/gio-2-dbus/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gio-2-list-model/esbuild.js b/examples/gio-2-list-model/esbuild.js index 8ead8300..a0fc8469 100644 --- a/examples/gio-2-list-model/esbuild.js +++ b/examples/gio-2-list-model/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', - external: ['node-gtk', 'gi://*', 'resource://*', 'gettext', 'system', 'cairo'], + external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/glib-2-variant/esbuild.js b/examples/glib-2-variant/esbuild.js index 4470e0e1..81181257 100644 --- a/examples/glib-2-variant/esbuild.js +++ b/examples/glib-2-variant/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', - external: ['node-gtk', 'gi://*', 'resource://*', 'gettext', 'system', 'cairo'], + external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-3-calc/esbuild.js b/examples/gtk-3-calc/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-3-calc/esbuild.js +++ b/examples/gtk-3-calc/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-3-gettext/esbuild.js b/examples/gtk-3-gettext/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-3-gettext/esbuild.js +++ b/examples/gtk-3-gettext/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-3-hello-2/esbuild.js b/examples/gtk-3-hello-2/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-3-hello-2/esbuild.js +++ b/examples/gtk-3-hello-2/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-3-template/esbuild.js b/examples/gtk-3-template/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-3-template/esbuild.js +++ b/examples/gtk-3-template/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-3-webkit/esbuild.js b/examples/gtk-3-webkit/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-3-webkit/esbuild.js +++ b/examples/gtk-3-webkit/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-4-application/esbuild.js b/examples/gtk-4-application/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-4-application/esbuild.js +++ b/examples/gtk-4-application/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-4-custom-widget/esbuild.js b/examples/gtk-4-custom-widget/esbuild.js index 86dc8b7f..81181257 100644 --- a/examples/gtk-4-custom-widget/esbuild.js +++ b/examples/gtk-4-custom-widget/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-4-list-store/esbuild.js b/examples/gtk-4-list-store/esbuild.js index 8ead8300..a0fc8469 100644 --- a/examples/gtk-4-list-store/esbuild.js +++ b/examples/gtk-4-list-store/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', - external: ['node-gtk', 'gi://*', 'resource://*', 'gettext', 'system', 'cairo'], + external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/gtk-4-template/esbuild.js b/examples/gtk-4-template/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/gtk-4-template/esbuild.js +++ b/examples/gtk-4-template/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/run-async/esbuild.js b/examples/run-async/esbuild.js index 4af9ed58..6fb16a22 100644 --- a/examples/run-async/esbuild.js +++ b/examples/run-async/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', - external: ['node-gtk', 'gi://*', 'resource://*', 'gettext', 'system', 'cairo'], + external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/soup-3-http/esbuild.js b/examples/soup-3-http/esbuild.js index 502d6046..bb4b2d21 100644 --- a/examples/soup-3-http/esbuild.js +++ b/examples/soup-3-http/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/soup-3-websocket/esbuild.js b/examples/soup-3-websocket/esbuild.js index 87df522d..1aa9db26 100644 --- a/examples/soup-3-websocket/esbuild.js +++ b/examples/soup-3-websocket/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file diff --git a/examples/timers/esbuild.js b/examples/timers/esbuild.js index 10385ebd..6fb16a22 100644 --- a/examples/timers/esbuild.js +++ b/examples/timers/esbuild.js @@ -11,6 +11,5 @@ await build({ // target: "firefox102", // Since GJS 1.73.2 target: "firefox115", // Since GJS 1.77.2 format: 'esm', - // platform: 'node', external: ['gi://*', 'resource://*', 'gettext', 'system', 'cairo'], }) \ No newline at end of file