From: Chris Duncan Date: Mon, 13 Jan 2025 00:32:35 +0000 (-0800) Subject: Fix build process. X-Git-Tag: v1.2.2~1 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=563124cd82cf5e402ca221153f84eff683004e53;p=nano-pow.git Fix build process. --- diff --git a/esbuild.mjs b/esbuild.mjs index 0b439d6..3a092e1 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -6,8 +6,8 @@ import { glsl } from "esbuild-plugin-glsl" await build({ entryPoints: [ - { out: 'main.min', in: 'build/main.js' }, - { out: 'global.min', in: 'build/global.js' } + { out: 'main.min', in: 'dist/main.js' }, + { out: 'global.min', in: 'dist/global.js' } ], outdir: 'dist', target: 'esnext', diff --git a/tsconfig.json b/tsconfig.json index 12a1ae3..82d452f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "moduleResolution": "Bundler", "declaration": true, "noEmit": false, - "outDir": "./build", + "outDir": "./dist", "alwaysStrict": true, "downlevelIteration": false, "esModuleInterop": true,