File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import browserify from 'browserify';
7
7
import vueify from 'vueify' ;
8
8
import babelify from 'babelify' ;
9
9
import modulesify from 'css-modulesify' ;
10
+ import aliasify from 'aliasify' ;
10
11
import source from 'vinyl-source-stream' ;
11
12
import buffer from 'vinyl-buffer' ;
12
13
import { argv } from 'yargs' ;
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import fs from 'fs';
5
5
import { argv } from 'yargs' ;
6
6
import { dirs , prod } from './config' ;
7
7
8
-
9
8
gulp . task ( 'copy:client:fa' , ( ) => {
10
9
return gulp
11
10
. src ( path . resolve ( dirs . modules , 'font-awesome/fonts/*' ) )
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import app from './server/server';
5
5
6
6
const client = path . resolve ( __dirname , 'client' ) ;
7
7
8
- const unless = function ( paths , middleware ) {
9
- return function ( req , res , next ) {
8
+ const unless = function ( paths , middleware ) {
9
+ return function ( req , res , next ) {
10
10
if ( paths . some ( p => req . path . indexOf ( p ) > - 1 ) ) {
11
11
return next ( ) ;
12
12
}
@@ -21,7 +21,7 @@ app.use(express.static(client));
21
21
// enable redirect urls to index
22
22
app . use ( unless (
23
23
[ '/api' , '/explorer' ] ,
24
- fallback ( 'index.html' , { root : client } ) ,
24
+ fallback ( 'index.html' , { root : client } ) ,
25
25
) ) ;
26
26
27
27
// start app
You can’t perform that action at this time.
0 commit comments