-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Babel 7 was recently released so I gave a shot at upgrading it. Followed the advice from the official upgrade guide [here](https://babeljs.io/docs/en/v7-migration). Also, stage presets were removed so I used [babel-upgrade](https://github.com/babel/babel-upgrade) to make sure we had the relevant plugins for stage 0 (as we had until now).
- Loading branch information
Showing
12 changed files
with
1,940 additions
and
1,737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<!-- The first thing in any HTML file should be the charset --> | ||
<meta charset="utf-8"> | ||
<!-- Make the page mobile compatible --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<title>React.js Boilerplate</title> | ||
</head> | ||
<body> | ||
<!-- Display a message if JS has been disabled on the browser. --> | ||
<noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript> | ||
|
||
<!-- The app hooks into this div --> | ||
<div id="app"></div> | ||
<!-- A lot of magic happens in this file. HtmlWebpackPlugin automatically includes all assets (e.g. bundle.js, main.css) with the correct HTML tags, which is why they are missing in this HTML file. Don't add any assets here! (Check out webpackconfig.js if you want to know more) --> | ||
</body> | ||
<head> | ||
<!-- The first thing in any HTML file should be the charset --> | ||
<meta charset="utf-8"> | ||
<!-- Make the page mobile compatible --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<title>React.js Boilerplate</title> | ||
</head> | ||
|
||
<body> | ||
<!-- Display a message if JS has been disabled on the browser. --> | ||
<noscript>If you're seeing this message, that means | ||
<strong>JavaScript has been disabled on your browser</strong>, please | ||
<strong>enable JS</strong> to make this app work.</noscript> | ||
|
||
<!-- The app hooks into this div --> | ||
<div id="app"></div> | ||
<!-- A lot of magic happens in this file. HtmlWebpackPlugin automatically includes all assets (e.g. bundle.js, main.css) with the correct HTML tags, which is why they are missing in this HTML file. Don't add any assets here! (Check out webpackconfig.js if you want to know more) --> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// needed for regenerator-runtime | ||
// (ES7 generator support is required by redux-saga) | ||
import 'babel-polyfill'; | ||
import '@babel/polyfill'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.