diff options
| author | David Calavera <david.calavera@gmail.com> | 2017-06-06 12:30:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-06 12:30:43 -0700 |
| commit | 9f94535e5a9e5c5f5629b2e9287872cb186db710 (patch) | |
| tree | 4c9e0370012326447feac5022c995aa01f9e1c3e /gulpfile.babel.js | |
| parent | 37e5f955764380bfb19bcfc5afc0966e431f14c7 (diff) | |
| parent | eb6afb01860008fb5fdfef9a1c55ac1ffc531025 (diff) | |
Merge pull request #10 from erquhart/cms-styles
pull cms styles from npm
Diffstat (limited to 'gulpfile.babel.js')
| -rw-r--r-- | gulpfile.babel.js | 3 |
1 files changed, 3 insertions, 0 deletions
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"]); |
