Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add babel loader on webpack-stream to transpile es6 code
- Loading branch information
1 parent
4de2eda
commit d344624
Showing
9 changed files
with
705 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"modules": false, | ||
"useBuiltIns": true, | ||
"targets": { | ||
"browsers": [ | ||
"> 5%", | ||
"IE >= 11" | ||
] | ||
} | ||
} | ||
] | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>A simple demo page</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<header class="header"> | ||
<div class="container"> | ||
<nav class="menu"> | ||
<ul class="menu-list"> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 01</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 02</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 03</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 04</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 05</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 06</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 07</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 08</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 09</a></li> | ||
<li class="menu-item"><a href="#" class="menu-link">Lorem 010</a></li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</header> | ||
<script src="build/bundle.min.js"></script> | ||
</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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
'use strict'; |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@charset "UTF-8"; | ||
|
||
body { | ||
border: none; | ||
background-color: red; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Theme Name: my_project | ||
* Author: Author's name here | ||
* Author URI: http://www.yourwebsite.com | ||
* Description: Your project description here | ||
* Version: 1.0.0 | ||
*/ | ||
|
||
body{border:none;background-color:red} |
Oops, something went wrong.