git ssb

0+

Rômulo Alves / website



Commit b17cf440c9dbf4e1f387500422eac5a7b137232e

Includes export feature to easily publish to Dat

Rômulo Alves committed on 5/6/2018, 1:29:49 PM
Parent: 47da1a3230ba9e094b0ae8019dbc69f445f8d66e

Files changed

.gitignorechanged
next.config.jschanged
package.jsonchanged
.gitignoreView
@@ -1,3 +1,4 @@
11 node_modules
22 .DS_Store
3-.next
3 +.next
4 +out
next.config.jsView
@@ -1,3 +1,10 @@
11 const withPreact = require('@zeit/next-preact');
22
3-module.exports = withPreact();
3 +module.exports = withPreact({
4 + exportPathMap () {
5 + return {
6 + '/': { page: '/' },
7 + '/talks': { page: '/talks' }
8 + }
9 + }
10 +});
package.jsonView
@@ -15,9 +15,10 @@
1515 },
1616 "scripts": {
1717 "dev": "next",
1818 "start": "node server.js",
19- "build": "next build"
19 + "build": "next build",
20 + "export": "./node_modules/.bin/next build && ./node_modules/.bin/next export"
2021 },
2122 "now": {
2223 "alias": [
2324 "romuloalv.es",

Built with git-ssb-web