You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: revamp dev and vite plugin logging
- hook into the vite logger when using the vite plugin
- fix weird unicode issue
- use terminal colour lib with a smaller footprint
- remove an extraneous logger util
- add a basic message to inform the user that the Netlify Vite plugin loaded
- when using middleware mode, add a message informing the user that this is loaded
and listing enables features
- add test coverage for logs
* fix: highlight commands
* fix: tweak log copy
* style: adjust fixture file indent
@@ -41,12 +43,7 @@ export default function netlify(options: NetlifyPluginOptions = {}): any {
41
43
})
42
44
43
45
awaitnetlifyDev.start()
44
-
45
-
if(!netlifyDev.siteIsLinked){
46
-
logger.log(
47
-
'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.',
`💭 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 ${netlifyCommand('npx netlify init')} to get started.`,
0 commit comments