$ npm install -g @depmap/cli
Clone this repository, install pkgs, start depmap, and edit a file in src/
$ git clone git@github.com:depmap/depmap.github.io.git
$ cd depmap.github.io
$ npm install
$ depmap watch
$ depmap compile
$ depmap watch
Add language loaders, set your path & output, and start working
// config.js
const pug = require('@depmap/pug-loader')
const styl = require('@depmap/stylus-loader')
const js = require('@depmap/babel-loader')
const img = require('@depmap/img-loader')
module.exports = {
path: 'src/**/*',
output: 'build',
load: { pug, styl, js, img }
}