mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 06:56:11 +02:00
🎉 Add wasm playground environment
This commit is contained in:
parent
486f036a11
commit
aae81b8a04
5 changed files with 222 additions and 0 deletions
|
@ -44,6 +44,7 @@ async function compileSass(path) {
|
|||
await fs.mkdir("./resources/public/css/", { recursive: true });
|
||||
await compileSassAll();
|
||||
await h.copyAssets();
|
||||
await h.copyWasmPlayground();
|
||||
await h.compileSvgSprites();
|
||||
await h.compileTemplates();
|
||||
await h.compilePolyfills();
|
||||
|
@ -88,4 +89,10 @@ h.watch(
|
|||
},
|
||||
);
|
||||
|
||||
log.info("watch: wasm playground (~)");
|
||||
h.watch(["resources/wasm-playground"], null, async function (path) {
|
||||
log.info("changed:", path);
|
||||
await h.copyWasmPlayground();
|
||||
});
|
||||
|
||||
worker.terminate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue