Skip to content

Commit

Permalink
use next.js instead of gatsby
Browse files Browse the repository at this point in the history
Signed-off-by: Henry <mail@henrygressmann.de>

remove out

Signed-off-by: Henry <mail@henrygressmann.de>

add nojekyll

Signed-off-by: Henry <mail@henrygressmann.de>
  • Loading branch information
explodingcamera committed Jan 9, 2019
1 parent 20eca6e commit 7037eb4
Show file tree
Hide file tree
Showing 26 changed files with 2,316 additions and 12,128 deletions.
4 changes: 4 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
}
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ typings/
# dotenv environment variables file
.env

# gatsby files
.cache/
public

# Mac files
.DS_Store

Expand All @@ -67,3 +63,7 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

.next
out/*
!out/.nojekyll
32 changes: 0 additions & 32 deletions gatsby-config.js

This file was deleted.

14 changes: 14 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const config = {
webpack: config => {
// Add Raw-Loader
config.module.rules.push({
test: /\.css$|\.svg$/,
use: 'raw-loader',
});

return config;
},
poweredByHeader: false,
};

module.exports = config;
Empty file added out/.nojekyll
Empty file.
Loading

0 comments on commit 7037eb4

Please sign in to comment.