diff --git a/.changeset/little-seahorses-argue.md b/.changeset/little-seahorses-argue.md new file mode 100644 index 000000000000..fb1c0d47af67 --- /dev/null +++ b/.changeset/little-seahorses-argue.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/adapter-static': patch +--- + +Update README diff --git a/packages/adapter-static/README.md b/packages/adapter-static/README.md index 8da5c9dbfa8f..f5aa6bd832dd 100644 --- a/packages/adapter-static/README.md +++ b/packages/adapter-static/README.md @@ -162,7 +162,7 @@ You will have to prevent GitHub's provided Jekyll from managing your site by put A config for GitHub Pages might look like the following: ```js -const dev = process.env.NODE_ENV === 'development'; +const dev = process.argv.includes('dev'); /** @type {import('@sveltejs/kit').Config} */ const config = {