Skip to content

Commit 3af0fdf

Browse files
mrstorkeduardoboucasJakeChampion
authored
chore: update recommended start command copy (#242)
* chore: replace link with init in suggested start command since it covers new and existing projects * refactor: update copy * refactor: simplify copy * refactor: tweak copy --------- Co-authored-by: Eduardo Bouças <[email protected]> Co-authored-by: Jake Champion <[email protected]>
1 parent 4b004de commit 3af0fdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/vite-plugin/src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export default function netlify(options: NetlifyPluginOptions = {}): any {
4040
await netlifyDev.start()
4141

4242
if (!netlifyDev.siteIsLinked) {
43-
logger.log('Your project is not linked to a Netlify site. Run `npx netlify link` to get started.')
43+
logger.log(
44+
'Linking this project to a Netlify site lets you deploy your site, use any environment variables defined on your team and site and much more. Run `npx netlify init` to get started.',
45+
)
4446
}
4547

4648
if (middleware) {

0 commit comments

Comments
 (0)