UNPKG

rump-static

Version:

Rump piece for handling static files

18 lines (14 loc) 365 B
import extend from 'extend' import rump from 'rump' const {configs} = rump rebuild() export function rebuild() { configs.main.globs = extend(true, { build: {static: '**/*'}, watch: {static: '**/*'}, }, configs.main.globs) configs.main.paths = extend(true, { source: {static: 'static'}, destination: {static: ''}, }, configs.main.paths) }