From add40e3ba074b723815b8cdd243bd91749c6493b Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 25 Jun 2018 13:19:38 +0200 Subject: [PATCH] fix gumshoe path --- _src/_assets/javascripts/page-getstarted.js | 2 +- gulpfile.babel.js | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/_src/_assets/javascripts/page-getstarted.js b/_src/_assets/javascripts/page-getstarted.js index aac4929..6970cbb 100644 --- a/_src/_assets/javascripts/page-getstarted.js +++ b/_src/_assets/javascripts/page-getstarted.js @@ -1,4 +1,4 @@ -//=include gumshoe/dist/js/gumshoe.js +//=include gumshoejs/dist/js/gumshoe.js //=include bigchain/tab.js //=include bigchain/newsletter.js diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 655df28..9ec4320 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -159,7 +159,7 @@ export const html = () => src(DIST + '/**/*.html') export const css = () => src(SRC + '/_assets/styles/bigchain.scss') .pipe($.if(!(isProduction || isStaging), $.sourcemaps.init())) .pipe($.sass({ - includePaths: ['node_modules'] + includePaths: [__dirname + '/node_modules'] }).on('error', $.sass.logError)) .pipe($.autoprefixer()) .pipe($.if(isProduction || isStaging, $.cleanCss())) @@ -204,10 +204,7 @@ export const js = () => ]) .pipe($.if(!(isProduction || isStaging), $.sourcemaps.init())) .pipe($.include({ - includePaths: [ - __dirname + '/node_modules', - SRC + '/_assets/javascripts' - ] + includePaths: ['node_modules', SRC + '/_assets/javascripts'] })).on('error', onError) .pipe($.if(isProduction || isStaging, minify())).on('error', onError) .pipe($.if(!(isProduction || isStaging), $.sourcemaps.write()))