Skip to content

Instantly share code, notes, and snippets.

@callmemagnus
callmemagnus / gulpfile.js
Last active January 3, 2019 09:36
Using gulp as task manager on top of webpack and eleventy
const { series, watch, src, dest } = require("gulp");
const browserSync = require("browser-sync").create();
const del = require("delete");
// assets
const webpack = require("webpack");
const webpackConfig = require("./webpack.config.js");
// site generator
const exec = require("child_process").exec;