Browse Source

Renamed /public to /docs for gh-pages

master
Muthu Kumar 7 years ago
parent
commit
c883215114
  1. 4
      .gitignore
  2. 2
      README.md
  3. 4
      build.js
  4. 0
      docs/index.html

4
.gitignore

@ -1,4 +1,4 @@
node_modules node_modules
public/js docs/js
public/css docs/css
.sass-cache .sass-cache

2
README.md

@ -14,4 +14,4 @@ npm install --only=dev
node build node build
``` ```
The assets for the site are built at `/public/` The assets for the site are built at `/docs/`

4
build.js

@ -6,12 +6,12 @@ const watch = require('node-watch')
let jsPath = { let jsPath = {
get: './js/main.js', get: './js/main.js',
put: './public/js/bundle.js' put: './docs/js/bundle.js'
} }
let cssPath = { let cssPath = {
get: './sass/style.sass', get: './sass/style.sass',
put: './public/css/style.css' put: './docs/css/style.css'
} }
const jsfy = () => { const jsfy = () => {

0
public/index.html → docs/index.html

Loading…
Cancel
Save