Skip to content

Commit

Permalink
fix: forgot to add compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed Jun 24, 2024
1 parent e608e3e commit 86b375c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const assetPacks = [`./resources/images`, `./resources/sounds`];
const foldersToClean = [`./resources/core`, `./resources/webview`, ...assetPacks];

const initialCommands = [
`node ./scripts/buildPluginDependencies.js`,
`node ./scripts/webview.js`,
`pnpm -C webview run build`,
`npx sucrase ./src -d ./resources/core --exclude-dirs ./src/scratchpad --transforms typescript -q`,
Expand Down Expand Up @@ -82,6 +81,8 @@ async function compile() {
const start = Date.now();
logMessage(`Compile Started`);

await runCommands([`node ./scripts/buildPluginDependencies.js`]);

for (let pathsToClean of foldersToClean) {
try {
fs.rmSync(pathsToClean, { force: true, recursive: true });
Expand Down

0 comments on commit 86b375c

Please sign in to comment.