-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Simple example To Vite Instead Of Webpack For Faster Development #5857
Conversation
6db6668
to
9131725
Compare
Needs rebase |
2b194db
to
bcd73ae
Compare
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script>window.global = window</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this for webpack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed for one of our dependency, can't remember which one though. Not related to webpack
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the old values didn't provide any value AFAIK. Besides, minimum-scale
can be an accessibility issue for browsers that still respect them (those I use don't actually)
Speeds up development dramatically. However, this won't work until we release the next version of Fakerest using modern bundlers (PR incoming)