@@ -25,13 +25,15 @@ module.exports = {
25
25
template : 'public/views/includes/header.ejs' ,
26
26
chunks : [ 'font' , 'index-styles' , 'index' ] ,
27
27
filename : path . join ( __dirname , 'public/views/build/index-header.ejs' ) ,
28
- inject : false
28
+ inject : false ,
29
+ chunksSortMode : 'manual'
29
30
} ) ,
30
31
new HtmlWebpackPlugin ( {
31
32
template : 'public/views/includes/header.ejs' ,
32
33
chunks : [ 'font-pack' , 'index-styles-pack' , 'index-styles' , 'index' ] ,
33
34
filename : path . join ( __dirname , 'public/views/build/index-pack-header.ejs' ) ,
34
- inject : false
35
+ inject : false ,
36
+ chunksSortMode : 'manual'
35
37
} ) ,
36
38
new HtmlWebpackPlugin ( {
37
39
template : 'public/views/includes/scripts.ejs' ,
@@ -43,19 +45,22 @@ module.exports = {
43
45
template : 'public/views/includes/scripts.ejs' ,
44
46
chunks : [ 'common' , 'index-pack' ] ,
45
47
filename : path . join ( __dirname , 'public/views/build/index-pack-scripts.ejs' ) ,
46
- inject : false
48
+ inject : false ,
49
+ chunksSortMode : 'manual'
47
50
} ) ,
48
51
new HtmlWebpackPlugin ( {
49
52
template : 'public/views/includes/header.ejs' ,
50
53
chunks : [ 'font' , 'cover' ] ,
51
54
filename : path . join ( __dirname , 'public/views/build/cover-header.ejs' ) ,
52
- inject : false
55
+ inject : false ,
56
+ chunksSortMode : 'manual'
53
57
} ) ,
54
58
new HtmlWebpackPlugin ( {
55
59
template : 'public/views/includes/header.ejs' ,
56
60
chunks : [ 'font-pack' , 'cover-styles-pack' , 'cover' ] ,
57
61
filename : path . join ( __dirname , 'public/views/build/cover-pack-header.ejs' ) ,
58
- inject : false
62
+ inject : false ,
63
+ chunksSortMode : 'manual'
59
64
} ) ,
60
65
new HtmlWebpackPlugin ( {
61
66
template : 'public/views/includes/scripts.ejs' ,
@@ -67,19 +72,22 @@ module.exports = {
67
72
template : 'public/views/includes/scripts.ejs' ,
68
73
chunks : [ 'common' , 'cover-pack' ] ,
69
74
filename : path . join ( __dirname , 'public/views/build/cover-pack-scripts.ejs' ) ,
70
- inject : false
75
+ inject : false ,
76
+ chunksSortMode : 'manual'
71
77
} ) ,
72
78
new HtmlWebpackPlugin ( {
73
79
template : 'public/views/includes/header.ejs' ,
74
80
chunks : [ 'font' , 'pretty-styles' , 'pretty' ] ,
75
81
filename : path . join ( __dirname , 'public/views/build/pretty-header.ejs' ) ,
76
- inject : false
82
+ inject : false ,
83
+ chunksSortMode : 'manual'
77
84
} ) ,
78
85
new HtmlWebpackPlugin ( {
79
86
template : 'public/views/includes/header.ejs' ,
80
87
chunks : [ 'font-pack' , 'pretty-styles-pack' , 'pretty-styles' , 'pretty' ] ,
81
88
filename : path . join ( __dirname , 'public/views/build/pretty-pack-header.ejs' ) ,
82
- inject : false
89
+ inject : false ,
90
+ chunksSortMode : 'manual'
83
91
} ) ,
84
92
new HtmlWebpackPlugin ( {
85
93
template : 'public/views/includes/scripts.ejs' ,
@@ -91,19 +99,22 @@ module.exports = {
91
99
template : 'public/views/includes/scripts.ejs' ,
92
100
chunks : [ 'common' , 'pretty-pack' ] ,
93
101
filename : path . join ( __dirname , 'public/views/build/pretty-pack-scripts.ejs' ) ,
94
- inject : false
102
+ inject : false ,
103
+ chunksSortMode : 'manual'
95
104
} ) ,
96
105
new HtmlWebpackPlugin ( {
97
106
template : 'public/views/includes/header.ejs' ,
98
107
chunks : [ 'font' , 'slide-styles' , 'slide' ] ,
99
108
filename : path . join ( __dirname , 'public/views/build/slide-header.ejs' ) ,
100
- inject : false
109
+ inject : false ,
110
+ chunksSortMode : 'manual'
101
111
} ) ,
102
112
new HtmlWebpackPlugin ( {
103
113
template : 'public/views/includes/header.ejs' ,
104
114
chunks : [ 'font-pack' , 'slide-styles-pack' , 'slide-styles' , 'slide' ] ,
105
115
filename : path . join ( __dirname , 'public/views/build/slide-pack-header.ejs' ) ,
106
- inject : false
116
+ inject : false ,
117
+ chunksSortMode : 'manual'
107
118
} ) ,
108
119
new HtmlWebpackPlugin ( {
109
120
template : 'public/views/includes/scripts.ejs' ,
@@ -420,7 +431,8 @@ module.exports = {
420
431
test : require . resolve ( 'js-sequence-diagrams' ) ,
421
432
use : [ {
422
433
loader : 'imports-loader' ,
423
- options : { _ : 'lodash' , Raphael : 'raphael' , eve : 'eve' } } ]
434
+ options : { _ : 'lodash' , Raphael : 'raphael' , eve : 'eve' }
435
+ } ]
424
436
} , {
425
437
test : / \. e o t ( \? v = \d + \. \d + \. \d + ) ? $ / ,
426
438
use : [ { loader : 'file-loader' } ]
@@ -431,27 +443,32 @@ module.exports = {
431
443
test : / \. ( w o f f | w o f f 2 ) ( \? v = \d + \. \d + \. \d + ) ? $ / ,
432
444
use : [ {
433
445
loader : 'url-loader' ,
434
- options : { prefix : 'font/' , limit : '5000' } } ]
446
+ options : { prefix : 'font/' , limit : '5000' }
447
+ } ]
435
448
} , {
436
449
test : / \. t t f ( \? v = \d + \. \d + \. \d + ) ? $ / ,
437
450
use : [ {
438
451
loader : 'url-loader' ,
439
- options : { limit : '5000' , mimetype : 'application/octet-stream' } } ]
452
+ options : { limit : '5000' , mimetype : 'application/octet-stream' }
453
+ } ]
440
454
} , {
441
455
test : / \. s v g ( \? v = \d + \. \d + \. \d + ) ? $ / ,
442
456
use : [ {
443
457
loader : 'url-loader' ,
444
- options : { limit : '10000' , mimetype : 'svg+xml' } } ]
458
+ options : { limit : '10000' , mimetype : 'svg+xml' }
459
+ } ]
445
460
} , {
446
461
test : / \. p n g ( \? v = \d + \. \d + \. \d + ) ? $ / ,
447
462
use : [ {
448
463
loader : 'url-loader' ,
449
- options : { limit : '10000' , mimetype : 'image/png' } } ]
464
+ options : { limit : '10000' , mimetype : 'image/png' }
465
+ } ]
450
466
} , {
451
467
test : / \. g i f ( \? v = \d + \. \d + \. \d + ) ? $ / ,
452
468
use : [ {
453
469
loader : 'url-loader' ,
454
- options : { limit : '10000' , mimetype : 'image/gif' } } ]
470
+ options : { limit : '10000' , mimetype : 'image/gif' }
471
+ } ]
455
472
} ]
456
473
} ,
457
474
node : {
0 commit comments