File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function listFiles() {
21
21
devDependencies : true
22
22
} ) ;
23
23
24
- return wiredep ( wiredepOptions ) . js
24
+ var patterns = wiredep ( wiredepOptions ) . js
25
25
. concat ( [
26
26
< % if ( props . jsPreprocessor . key === 'noJsPrepro' ) { - % >
27
27
path . join ( conf . paths . src , '/app/**/*.module.js' ) ,
@@ -38,6 +38,19 @@ function listFiles() {
38
38
< % } - % >
39
39
] )
40
40
. concat ( pathSrcHtml ) ;
41
+
42
+ var files = patterns . map ( function ( pattern ) {
43
+ return {
44
+ pattern : pattern
45
+ } ;
46
+ } ) ;
47
+ files . push ( {
48
+ pattern : path . join ( conf . paths . src , '/assets/**/*' ) ,
49
+ included : false ,
50
+ served : true ,
51
+ watched : false
52
+ } ) ;
53
+ return files ;
41
54
}
42
55
43
56
module . exports = function ( config ) {
@@ -97,7 +110,11 @@ module.exports = function(config) {
97
110
dir : 'coverage/'
98
111
} ,
99
112
100
- reporters : [ 'progress' ]
113
+ reporters : [ 'progress' ] ,
114
+
115
+ proxies : {
116
+ '/assets/' : path . join ( '/base/' , conf . paths . src , '/assets/' )
117
+ }
101
118
} ;
102
119
103
120
// This is the default preprocessors configuration for a usage with Karma cli
You can’t perform that action at this time.
0 commit comments