From eb6afb01860008fb5fdfef9a1c55ac1ffc531025 Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Fri, 2 Jun 2017 10:12:55 -0400 Subject: pull cms styles from npm --- gulpfile.babel.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gulpfile.babel.js') diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 6681944..ce9e001 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -30,6 +30,9 @@ gulp.task("cms", () => { .pipe(replace("<% GITHUB_REPOSITORY %>", repo)) .pipe(gulp.dest("./dist/admin")) .pipe(browserSync.stream()); + gulp.src(["./node_modules/netlify-cms/dist/*.*", "!./node_modules/netlify-cms/dist/*.html"]) + .pipe(gulp.dest("./dist")) + .pipe(browserSync.stream()) }); gulp.task("build", ["css", "js", "hugo", "cms"]); -- cgit v1.3