Commit ed650220 authored by Vadim Makeev's avatar Vadim Makeev

More flexible regexp: 4x3, material and such cases

parent 88dffef4
......@@ -22,8 +22,8 @@ gulp.task('prepare', () => {
'!package.json'
])
.pipe(replace(
/(<link rel="stylesheet" href=")(node_modules\/shower-ribbon\/)(styles\/screen-16x10.css">)/g,
'$1shower/themes/ribbon/$3', { skipBinary: true }
/(<link rel="stylesheet" href=")(node_modules\/shower-)([^\/]*)\/(.*\.css">)/g,
'$1shower/themes/$3/$4', { skipBinary: true }
))
.pipe(replace(
/(<script src=")(node_modules\/shower-core\/)(shower.min.js"><\/script>)/g,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment