]> zoso.dev Git - libnemo.git/commitdiff
Target esnext which is esbuild default.
authorChris Duncan <chris@zoso.dev>
Mon, 2 Dec 2024 19:31:15 +0000 (11:31 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 2 Dec 2024 19:31:15 +0000 (11:31 -0800)
package.json

index 81d5fd422118b9ea7a9199e6026b812980e6bb37..8846aa3b1f8a1e21e0b1a4e9f9728faa60b2d598 100644 (file)
@@ -42,7 +42,7 @@
                "url": "git+https://zoso.dev/libnemo.git"
        },
        "scripts": {
-               "build": "rm -rf dist && tsc && esbuild main.min=dist/main.js global.min=dist/global.js --outdir=dist --target=es2022 --format=esm --platform=browser --bundle --sourcemap",
+               "build": "rm -rf dist && tsc && esbuild main.min=dist/main.js global.min=dist/global.js --outdir=dist --target=esnext --format=esm --platform=browser --bundle --sourcemap",
                "test": "npm run build -- --platform=node && node --test --test-force-exit --env-file .env",
                "test:coverage": "npm run test -- --experimental-test-coverage",
                "test:coverage:report": "npm run test:coverage -- --test-reporter=lcov --test-reporter-destination=coverage.info && genhtml coverage.info --output-directory test/coverage && rm coverage.info && xdg-open test/coverage/index.html",