File tree Expand file tree Collapse file tree 4 files changed +8
-18
lines changed Expand file tree Collapse file tree 4 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ module.exports = function () {
64
64
} else {
65
65
this . model . cssLinks = [ ] ;
66
66
if ( this . props . ui . key === 'bootstrap' ) {
67
- this . model . cssLinks . push ( 'bower_components/bootstrap/dist/css/bootstrap.css' ) ;
67
+ this . model . cssLinks . push ( '../ bower_components/bootstrap/dist/css/bootstrap.css' ) ;
68
68
} else if ( this . props . ui . key === 'foundation' ) {
69
- this . model . cssLinks . push ( 'bower_components/foundation/css/foundation.css' ) ;
69
+ this . model . cssLinks . push ( '../ bower_components/foundation/css/foundation.css' ) ;
70
70
}
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -111,13 +111,11 @@ module.exports = function () {
111
111
var styleAppDest = 'src/app/index.' + this . props . cssPreprocessor . extension ;
112
112
var styleCopies = { } ;
113
113
styleCopies [ styleAppSource ] = styleAppDest ;
114
- this . styleVendorPosition = '.' ;
115
114
116
115
if ( this . model . vendorStylesPreprocessed ) {
117
116
var styleVendorSource = 'src/app/__' + this . props . ui . key + '-vendor.' + this . props . cssPreprocessor . extension ;
118
117
var styleVendorDest = 'src/app/vendor.' + this . props . cssPreprocessor . extension ;
119
118
styleCopies [ styleVendorSource ] = styleVendorDest ;
120
- this . styleVendorPosition = '{.tmp,app}' ;
121
119
}
122
120
123
121
this . optionalFiles . push ( { copies : styleCopies } ) ;
Original file line number Diff line number Diff line change @@ -6,18 +6,10 @@ var gulp = require('gulp');
6
6
gulp . task ( 'wiredep' , function ( ) {
7
7
var wiredep = require ( 'wiredep' ) . stream ;
8
8
9
- gulp . src ( 'src/{app,components}/*.scss' )
10
- . pipe ( wiredep ( {
11
- directory : 'bower_components' ,
12
- ignorePath : / ^ \/ | \. \. \/ /
13
- } ) )
14
- . pipe ( gulp . dest ( 'src' ) ) ;
15
-
16
- gulp . src ( 'src/*.html' )
9
+ return gulp . src ( 'src/index.html' )
17
10
. pipe ( wiredep ( {
18
11
directory : 'bower_components' ,
19
12
exclude : [ < %= wiredepExclusions % > ],
20
- ignorePath: /^\/|\.\.\//
21
13
} ) )
22
14
. pipe ( gulp . dest ( 'src' ) ) ;
23
15
} ) ;
Original file line number Diff line number Diff line change 7
7
< meta name ="viewport " content ="width=device-width ">
8
8
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
9
9
10
- <!-- build:css(<%= styleVendorPosition %> ) styles/vendor.css -->
10
+ <!-- build:css({.tmp,src} ) styles/vendor.css -->
11
11
< %= cssLinks %>
12
12
13
13
<!-- bower:css -->
19
19
< link rel ="stylesheet " href ="app/index.css ">
20
20
<!-- endbuild -->
21
21
22
- <!-- build:js(.) scripts/modernizr.js -->
23
- < script src ="bower_components/modernizr/modernizr.js "> </ script >
22
+ <!-- build:js scripts/modernizr.js -->
23
+ < script src ="../ bower_components/modernizr/modernizr.js "> </ script >
24
24
<!-- endbuild -->
25
25
</ head >
26
26
< body >
40
40
ga ( 'create' , 'UA-XXXXX-X' ) ; ga ( 'send' , 'pageview' ) ;
41
41
</ script >
42
42
43
- <!-- build:js(.) scripts/vendor.js -->
43
+ <!-- build:js scripts/vendor.js -->
44
44
<!-- bower:js -->
45
45
<!-- run `gulp wiredep` to automaticaly populate bower script dependencies -->
46
46
<!-- endbower -->
47
47
<!-- endbuild -->
48
48
49
- <!-- build:js({src, .tmp}) scripts/app.js -->
49
+ <!-- build:js({.tmp,src }) scripts/app.js -->
50
50
< script src ="app/index.js "> </ script >
51
51
< script src ="app/main/main.controller.js "> </ script >
52
52
< script src ="components/navbar/navbar.controller.js "> </ script >
You can’t perform that action at this time.
0 commit comments