summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-11-19 10:23:04 -0500
committerGravatar GitHub <noreply@github.com> 2021-11-19 10:23:04 -0500
commit41c6a772a276c6961f550d6f27e1388e9b9f1904 (patch)
treef5bc21a0a0a354dad2c78762655d632d1f2f050b
parentfb4eb080ec06406891033a8fdb37847c1b91d0d1 (diff)
downloadastro-41c6a772a276c6961f550d6f27e1388e9b9f1904.tar.gz
astro-41c6a772a276c6961f550d6f27e1388e9b9f1904.tar.zst
astro-41c6a772a276c6961f550d6f27e1388e9b9f1904.zip
Resolve vite client modules to vendored vite (#1903)
* Resolve vite client modules to vendored vite * Adds a changeset
-rw-r--r--.changeset/popular-plants-report.md5
-rw-r--r--packages/astro/vendor/vite/dist/node/chunks/dep-35df7f96.js4
2 files changed, 7 insertions, 2 deletions
diff --git a/.changeset/popular-plants-report.md b/.changeset/popular-plants-report.md
new file mode 100644
index 000000000..c97c28631
--- /dev/null
+++ b/.changeset/popular-plants-report.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fix for dev server not starting
diff --git a/packages/astro/vendor/vite/dist/node/chunks/dep-35df7f96.js b/packages/astro/vendor/vite/dist/node/chunks/dep-35df7f96.js
index 0f057ac1a..bdf7306ea 100644
--- a/packages/astro/vendor/vite/dist/node/chunks/dep-35df7f96.js
+++ b/packages/astro/vendor/vite/dist/node/chunks/dep-35df7f96.js
@@ -2996,9 +2996,9 @@ const NULL_BYTE_PLACEHOLDER = `__x00__`;
const CLIENT_PUBLIC_PATH = `/@vite/client`;
const ENV_PUBLIC_PATH = `/@vite/env`;
// eslint-disable-next-line node/no-missing-require
-const CLIENT_ENTRY = require.resolve('vite/dist/client/client.mjs');
+const CLIENT_ENTRY = require.resolve('../../client/client.mjs');
// eslint-disable-next-line node/no-missing-require
-const ENV_ENTRY = require.resolve('vite/dist/client/env.mjs');
+const ENV_ENTRY = require.resolve('../../client/env.mjs');
const CLIENT_DIR = path__default.dirname(CLIENT_ENTRY);
// ** READ THIS ** before editing `KNOWN_ASSET_TYPES`.
// If you add an asset to `KNOWN_ASSET_TYPES`, make sure to also add it