File tree 4 files changed +88
-94
lines changed
4 files changed +88
-94
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,18 @@ module.exports = config:
11
11
files :
12
12
javascripts :
13
13
joinTo :
14
- ' vendor.js' : / ^ node_modules/ ,
14
+ ' angular.js' : / ^ node_modules\/ @angular/ ,
15
+ ' ionic.js' : / ^ node_modules\/ (@ionic| ionic-angular)/ ,
16
+ ' types.js' : / ^ node_modules\/ @types/ ,
17
+ ' crypto.js' : / ^ node_modules\/ (tweet| scrypt)/ ,
18
+ ' vendor.js ' : (path ) ->
19
+ path .startsWith (' node_modules' ) &&
20
+ ! path .startsWith (' node_modules/@angular' ) &&
21
+ ! path .startsWith (' node_modules/@ionic' ) &&
22
+ ! path .startsWith (' node_modules/ionic' ) &&
23
+ ! path .startsWith (' node_modules/@types' ) &&
24
+ ! path .startsWith (' node_modules/tweet' ) &&
25
+ ! path .startsWith (' node_modules/scrypt' )
15
26
' main.js' : / ^ src/
16
27
order :
17
28
after : [/ \. html$ / , / \. css$ / ]
@@ -21,6 +32,10 @@ module.exports = config:
21
32
templates : joinTo : ' templates.js'
22
33
23
34
plugins :
35
+ uglify :
36
+ mangle : true
37
+ compress : true
38
+ ignored : / main\. js/
24
39
inlineCss : {
25
40
html : true
26
41
},
@@ -31,6 +46,7 @@ module.exports = config:
31
46
},
32
47
copycat : {
33
48
" fonts" : [" node_modules/ionic-angular/fonts" ],
49
+
34
50
verbose : false ,
35
51
onlyChanged : true
36
52
}
Original file line number Diff line number Diff line change 13
13
"dependencies" : {
14
14
"@angular/common" : " 4.0.0" ,
15
15
"@angular/compiler" : " 4.0.0" ,
16
- "@angular/compiler-cli" : " 4.0.0" ,
17
16
"@angular/core" : " 4.0.0" ,
18
17
"@angular/forms" : " 4.0.0" ,
19
18
"@angular/http" : " 4.0.0" ,
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ <h1 style="text-align: center;">ğannonce est en cours de chargement. Veuillez p
40
40
41
41
<!-- The bundle js is generated during the build process -->
42
42
< script src ="vendor.js "> </ script >
43
+ < script src ="angular.js "> </ script >
44
+ < script src ="ionic.js "> </ script >
45
+ < script src ="crypto.js "> </ script >
43
46
< script src ="main.js "> </ script >
44
47
< script > require ( 'src/app/main' ) ; </ script >
45
48
You can’t perform that action at this time.
0 commit comments