File tree Expand file tree Collapse file tree 3 files changed +280
-696
lines changed Expand file tree Collapse file tree 3 files changed +280
-696
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " webpack-mpa" ,
3
- "version" : " 3.11 .0" ,
3
+ "version" : " 3.12 .0" ,
4
4
"description" : " Multi page app setup with webpack" ,
5
5
"keywords" : [
6
6
" MPA" ,
73
73
"postcss-watch-folder" : " 2.0.0" ,
74
74
"sass" : " 1.56.0" ,
75
75
"sass-loader" : " 13.1.0" ,
76
- "spritesh" : " 1.2.1" ,
77
76
"stylelint" : " 14.14.1" ,
78
77
"stylelint-config-recommended" : " 9.0.0" ,
79
78
"stylelint-config-standard-scss" : " 6.1.0" ,
80
79
"stylelint-no-unsupported-browser-features" : " 6.0.1" ,
81
80
"stylelint-scss" : " 4.3.0" ,
82
- "svgo " : " 3.0 .0" ,
81
+ "svg-symbol-sprite " : " 1.1 .0" ,
83
82
"webpack" : " 5.74.0" ,
84
83
"webpack-cli" : " 4.10.0" ,
85
84
"webpack-shell-plugin-next" : " 2.3.1" ,
Original file line number Diff line number Diff line change @@ -90,8 +90,7 @@ const shellScripts = [];
90
90
const svgs = readdirSync ( './assets/images/svg' ) . filter ( svg => svg [ 0 ] !== '.' ) ;
91
91
92
92
if ( svgs . length ) {
93
- shellScripts . push ( 'svgo -f assets/images/svg' ) ;
94
- shellScripts . push ( 'spritesh -q -i assets/images/svg -o ./assets/dist/sprite.svg -p svg-' ) ;
93
+ shellScripts . push ( 'svg-symbol-sprite -i assets/images/svg -o assets/dist/sprite.svg -p svg-' ) ;
95
94
}
96
95
97
96
module . exports = ( env , argv ) => {
You can’t perform that action at this time.
0 commit comments