Jonas Jenwald
0053b36ee7
Support multiple wasm-files in the development viewer
...
This prepares for a future where we're using more than one wasm-file, originating in different `external/`-folders, by extending the existing `gulp.watch` usage.
The following diff illustrates how to add more entries:
```diff
diff --git a/gulpfile.mjs b/gulpfile.mjs
index 0e0a5a1ac..1502755be 100644
--- a/gulpfile.mjs
+++ b/gulpfile.mjs
@@ -655,6 +655,10 @@ function createWasmBundle() {
base: "external/openjpeg",
encoding: false,
}),
+ gulp.src(["external/foobar/*.wasm"], {
+ base: "external/foobar",
+ encoding: false,
+ }),
]);
}
@@ -2125,7 +2129,7 @@ gulp.task(
},
function watchWasm() {
gulp.watch(
- "external/openjpeg/*",
+ ["external/openjpeg/*", "external/foobar/*"],
{ ignoreInitial: false },
gulp.series("dev-wasm")
);
```
2025-01-18 09:35:11 +01:00
..
2024-08-30 15:48:51 +02:00
2025-01-18 09:35:11 +01:00
2024-10-11 12:05:36 +02:00
2024-12-10 21:54:29 +01:00
2024-12-09 17:25:36 +01:00
2024-08-10 18:29:03 +02:00
2025-01-14 11:16:59 +01:00
2024-09-03 16:57:41 +02:00
2025-01-18 09:35:11 +01:00
2025-01-16 22:51:05 +01:00
2024-08-12 12:26:35 +02:00
2024-10-01 19:43:16 +02:00
2015-08-14 18:59:55 +02:00
2024-11-18 16:21:12 +01:00
2011-07-05 10:53:57 -07:00
2024-01-26 18:31:38 +01:00
2023-10-09 12:06:33 +02:00
2024-12-02 23:01:22 +01:00
2024-12-06 14:47:22 +01:00
2024-11-28 15:23:03 +01:00
2023-11-28 14:21:53 +01:00
2024-12-03 11:03:15 +01:00
2024-06-25 21:03:34 +02:00
2024-08-12 12:26:35 +02:00
2024-03-12 13:18:15 +01:00
2024-12-06 14:47:22 +01:00
2024-02-02 13:10:52 +01:00
2024-12-03 19:02:58 +01:00
2024-06-18 11:54:49 +02:00
2024-11-28 13:25:56 +01:00
2024-08-02 20:46:13 +02:00
2024-12-06 14:47:22 +01:00
2024-12-04 09:15:01 +01:00
2024-12-03 19:02:58 +01:00
2023-06-21 13:13:53 +02:00
2024-08-31 18:31:31 +02:00
2024-05-01 18:02:05 +02:00
2024-09-28 12:29:51 +02:00
2024-12-01 12:25:16 +01:00
2024-12-06 17:53:28 +01:00
2025-01-15 14:23:04 +01:00
2023-04-17 14:31:23 +02:00
2024-08-25 20:34:03 +02:00
2024-10-01 13:25:22 +02:00
2024-07-18 13:29:32 +02:00
2024-04-29 18:54:06 +02:00
2025-01-10 16:05:59 +01:00
2024-04-18 18:41:18 +02:00
2024-08-23 18:39:28 +02:00
2024-12-06 14:47:22 +01:00
2024-01-21 10:13:12 +01:00
2024-12-06 14:47:22 +01:00
2024-08-10 12:24:59 +02:00
2022-09-08 12:38:17 +02:00
2024-09-16 14:48:26 +02:00
2024-06-12 18:41:07 +02:00
2024-01-31 14:07:11 +01:00
2024-12-05 23:15:04 +01:00
2024-12-14 19:39:51 +01:00
2025-01-16 22:51:05 +01:00
2024-08-12 12:26:35 +02:00
2023-10-26 12:05:33 +02:00
2024-09-28 12:29:51 +02:00
2024-11-01 17:43:59 +01:00
2024-08-01 21:34:50 +02:00
2023-09-07 18:22:33 +02:00
2024-12-16 16:04:13 +01:00
2024-09-05 17:59:42 +02:00
2024-11-28 13:25:56 +01:00
2025-01-07 10:29:23 +01:00
2024-03-04 19:32:12 +01:00
2024-09-25 14:27:17 +02:00
2024-09-16 14:48:26 +02:00
2020-03-21 13:55:06 +01:00
2024-10-02 19:17:40 +02:00
2025-01-16 21:09:50 +01:00
2024-12-07 13:44:48 +01:00
2023-10-19 11:20:41 +02:00
2022-03-28 11:36:29 +02:00
2023-10-07 09:31:08 +02:00
2023-10-19 11:20:41 +02:00
2024-12-05 13:07:57 +01:00
2025-01-16 21:09:50 +01:00
2024-12-07 13:44:48 +01:00
2023-10-06 09:50:03 +02:00
2023-10-26 12:05:33 +02:00