mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
add __dirname to include path
This commit is contained in:
parent
81880cf803
commit
f6d15f9479
@ -204,7 +204,10 @@ export const js = () =>
|
||||
])
|
||||
.pipe($.if(!(isProduction || isStaging), $.sourcemaps.init()))
|
||||
.pipe($.include({
|
||||
includePaths: ['node_modules', SRC + '/_assets/javascripts']
|
||||
includePaths: [
|
||||
__dirname + '/node_modules',
|
||||
SRC + '/_assets/javascripts'
|
||||
]
|
||||
})).on('error', onError)
|
||||
.pipe($.if(isProduction || isStaging, minify())).on('error', onError)
|
||||
.pipe($.if(!(isProduction || isStaging), $.sourcemaps.write()))
|
||||
|
Loading…
Reference in New Issue
Block a user