1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-10-31 23:35:38 +01:00

fix gumshoe path

This commit is contained in:
Matthias Kretschmann 2018-06-25 13:19:38 +02:00
parent de4c1836f9
commit add40e3ba0
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
//=include gumshoe/dist/js/gumshoe.js //=include gumshoejs/dist/js/gumshoe.js
//=include bigchain/tab.js //=include bigchain/tab.js
//=include bigchain/newsletter.js //=include bigchain/newsletter.js

View File

@ -159,7 +159,7 @@ export const html = () => src(DIST + '/**/*.html')
export const css = () => src(SRC + '/_assets/styles/bigchain.scss') export const css = () => src(SRC + '/_assets/styles/bigchain.scss')
.pipe($.if(!(isProduction || isStaging), $.sourcemaps.init())) .pipe($.if(!(isProduction || isStaging), $.sourcemaps.init()))
.pipe($.sass({ .pipe($.sass({
includePaths: ['node_modules'] includePaths: [__dirname + '/node_modules']
}).on('error', $.sass.logError)) }).on('error', $.sass.logError))
.pipe($.autoprefixer()) .pipe($.autoprefixer())
.pipe($.if(isProduction || isStaging, $.cleanCss())) .pipe($.if(isProduction || isStaging, $.cleanCss()))
@ -204,10 +204,7 @@ export const js = () =>
]) ])
.pipe($.if(!(isProduction || isStaging), $.sourcemaps.init())) .pipe($.if(!(isProduction || isStaging), $.sourcemaps.init()))
.pipe($.include({ .pipe($.include({
includePaths: [ includePaths: ['node_modules', SRC + '/_assets/javascripts']
__dirname + '/node_modules',
SRC + '/_assets/javascripts'
]
})).on('error', onError) })).on('error', onError)
.pipe($.if(isProduction || isStaging, minify())).on('error', onError) .pipe($.if(isProduction || isStaging, minify())).on('error', onError)
.pipe($.if(!(isProduction || isStaging), $.sourcemaps.write())) .pipe($.if(!(isProduction || isStaging), $.sourcemaps.write()))