summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package.json1
-rw-r--r--scripts/smoke/cleanup.js5
-rw-r--r--scripts/smoke/index.js5
3 files changed, 2 insertions, 9 deletions
diff --git a/scripts/package.json b/scripts/package.json
index 8a962b5c7..e6b97f60f 100644
--- a/scripts/package.json
+++ b/scripts/package.json
@@ -8,7 +8,6 @@
"astro-scripts": "./index.js"
},
"dependencies": {
- "@astrojs/webapi": "workspace:*",
"arg": "^5.0.2",
"esbuild": "^0.18.16",
"globby": "^12.2.0",
diff --git a/scripts/smoke/cleanup.js b/scripts/smoke/cleanup.js
index 0d7db79f3..3b03951f9 100644
--- a/scripts/smoke/cleanup.js
+++ b/scripts/smoke/cleanup.js
@@ -3,11 +3,8 @@
// @ts-check
import { execa } from 'execa';
-import { polyfill } from '@astrojs/webapi';
-import { fileURLToPath } from 'node:url';
import { promises as fs } from 'node:fs';
-
-polyfill(globalThis, { exclude: 'window document' });
+import { fileURLToPath } from 'node:url';
/* Configuration
/* ========================================================================== */
diff --git a/scripts/smoke/index.js b/scripts/smoke/index.js
index 9bdaff820..7ab78e286 100644
--- a/scripts/smoke/index.js
+++ b/scripts/smoke/index.js
@@ -3,11 +3,8 @@
// @ts-check
import { execa } from 'execa';
-import { polyfill } from '@astrojs/webapi';
-import { fileURLToPath } from 'node:url';
import { promises as fs } from 'node:fs';
-
-polyfill(globalThis, { exclude: 'window document' });
+import { fileURLToPath } from 'node:url';
/** URL directory containing the entire project. */
const rootDir = new URL('../../', import.meta.url);