Skip to content

Commit

Permalink
[cubing/solve] Remove worker-inside-generated-string.js intermediate.
Browse files Browse the repository at this point in the history
This prevents it from being in the published build, which saves ≈1MB on disk.
  • Loading branch information
lgarron committed Jun 27, 2021
1 parent 7d59836 commit cfa8407
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ const stringWrappingPlugin = {
.replace(/"/g, '\\"')
.replace(/\n/g, "\\n")}";`,
async () => {
await execPromise(
"rm src/cubing/solve/worker-inside-generated.js",
);
console.log("updated worker-inside-generated-string.js");
resolve();
},
Expand Down

0 comments on commit cfa8407

Please sign in to comment.