🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking
🧐 Source maps
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
{ | |
"$schema": "https://json.schemastore.org/tsconfig", | |
"compilerOptions": { | |
"target": "es2020", | |
"module": "commonjs", | |
"lib": [ | |
"es2020" | |
], | |
"incremental": true, | |
"noEmit": true, |
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
import React from "react"; | |
import Recipe from "./recipe"; | |
export default function recipeTemplate(props) { | |
console.log(props) | |
return ( | |
<section> | |
<Recipe | |
title={props.pageContext.recipe.title} |
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
Theme: | |
https://marketplace.visualstudio.com/items?itemName=whizkydee.material-palenight-theme | |
#------------------------------------------------------------------------------- | |
# Make the default prompt with our custom colors | |
#------------------------------------------------------------------------------- | |
BLACK=$(tput setaf 0) | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
YELLOW=$(tput setaf 3) |
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
#------------------------------------------------------------------------------- | |
# Make the default prompt with our custom colors | |
#------------------------------------------------------------------------------- | |
BLACK=$(tput setaf 0) | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
YELLOW=$(tput setaf 3) | |
BLUE=$(tput setaf 4) | |
MAGENTA=$(tput setaf 5) | |
CYAN=$(tput setaf 6) |
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
$color00: #1B2B34; | |
$color01: #CDD3DE; | |
$color02: #93a1a1; | |
$color03: #99C794; | |
$color04: #EC5F67; | |
$color05: #FAC863; | |
$color06: #C594C5; | |
$color07: #6699CC; | |
$color08: #b58900; |
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
"scripts": { | |
"build:client": "webpack --config webpack.config.js", | |
"build:server": "BABEL_ENV=server babel src --out-dir ./build/server", | |
"watch:client": "npm run build:client -- --watch", | |
"watch:server": "npm run build:server -- --watch" | |
} |
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
._6de768fc { | |
display: -webkit-flex; | |
display: -ms-flexbox; | |
display: flex; } | |
._8e1229bd { | |
color: red; } | |
._8e1229bd :hover { | |
color: green; } |
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
const autoprefixer = require('autoprefixer'); | |
module.exports = { | |
plugins: [ | |
autoprefixer({ | |
browsers: [ | |
'last 2 versions', | |
'IE >= 9', | |
'safari >= 8' | |
] |
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
{ | |
test: /\.scss$/, | |
loader: ExtractTextPlugin.extract({ | |
loader: [ | |
{ | |
loader: 'css-loader', | |
query: { | |
localIdentName: '[hash:8]', | |
modules: true | |
} |
NewerOlder