From 6a06c8ffa0177f254923d1440f57f72965a78c40 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 5 Aug 2022 14:19:05 -0500 Subject: [PATCH] Try using vite-node for build-stork-index-js --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ac7794..143c355 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "build-lists": "npm run test-prebuild && npx vite-node build-lists.js", "setup-stork": "run-s download-stork-toml download-stork-executable", "build-stork-index": "./$npm_package_config_stork_executable build --input $npm_package_config_stork_toml --output $npm_package_config_stork_index", - "build-stork-index-js": "node -r esm -r tsconfig-paths/register scripts/build-stork-index.js", + "build-stork-index-js": "npx vite-node scripts/build-stork-index.js", "stork-search": "./$npm_package_config_stork_executable search --index $npm_package_config_stork_index --query $1", "stork-index": "run-s setup-stork build-stork-index", "download-stork-toml": "npx vite-node scripts/download-stork-toml.js",