milkio 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/gen-insignificant.ts +3 -11
package/package.json
CHANGED
|
@@ -237,17 +237,9 @@ export default async () => {
|
|
|
237
237
|
|
|
238
238
|
console.time(`Client Stage`);
|
|
239
239
|
try {
|
|
240
|
-
if (process.platform !== "win32") await $`bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'
|
|
241
|
-
else await $`powershell.exe -command "bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'"
|
|
242
|
-
} catch (error) {
|
|
243
|
-
console.log(error);
|
|
244
|
-
}
|
|
245
|
-
await Bun.build({
|
|
246
|
-
entrypoints: ["./packages/client/index.ts"],
|
|
247
|
-
outdir: "./packages/client/dist",
|
|
248
|
-
target: "browser",
|
|
249
|
-
minify: true,
|
|
250
|
-
});
|
|
240
|
+
if (process.platform !== "win32") await $`bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'`.quiet();
|
|
241
|
+
else await $`powershell.exe -command "bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'"`.quiet();
|
|
242
|
+
} catch (error) {}
|
|
251
243
|
await copyFile(join(cwd(), "src", "fail-code.ts"), join(cwd(), "packages", "client", "project", "src", "fail-code.ts"));
|
|
252
244
|
await $`bun i`.cwd(join(cwd(), "packages", "client"));
|
|
253
245
|
console.timeEnd(`Client Stage`);
|