sullivan
Version:
Tools to quickly build interfaces in JS
21 lines (16 loc) • 532 B
JavaScript
var getConfig = require('hjs-webpack')
module.exports = getConfig({
// entry point for the app
in: 'index.js',
// Name or full path of output directory
// commonly named `www` or `public`. This
// is where your fully static site should
// end up for simple deployment.
out: 'public',
// This will destroy and re-create your
// `out` folder before building so you always
// get a fresh folder. Usually you want this
// but since it's destructive we make it
// false by default
clearBeforeBuild: true
})