]> zoso.dev Git - nano-pow.git/commitdiff
Fix build process.
authorChris Duncan <chris@zoso.dev>
Mon, 13 Jan 2025 00:32:35 +0000 (16:32 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 13 Jan 2025 00:32:35 +0000 (16:32 -0800)
esbuild.mjs
tsconfig.json

index 0b439d65ac1490046eacc9692e21d83fd7f875e1..3a092e19ee8f4783ad72683707fb8fd81f2f4b83 100644 (file)
@@ -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',
index 12a1ae3f8c106139bb7c3e35dca7bf7e7892e9d6..82d452f670206f966d1ce285ef58851b8df30dde 100644 (file)
@@ -5,7 +5,7 @@
                "moduleResolution": "Bundler",
                "declaration": true,
                "noEmit": false,
-               "outDir": "./build",
+               "outDir": "./dist",
                "alwaysStrict": true,
                "downlevelIteration": false,
                "esModuleInterop": true,