Update paths

This commit is contained in:
Vadim Makeev 2018-11-28 03:09:46 +03:00
parent c5721f631e
commit 82712d4ca3
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ gulp.task('prepare', () => {
'!package-lock.json'
])
.pipe(replace(
/(<link rel="stylesheet" href=")(node_modules\/shower-)([^\/]*)\/(.*\.css">)/g,
/(<link rel="stylesheet" href=")(node_modules\/@shower\/)([^\/]*)\/(.*\.css">)/g,
'$1shower/themes/$3/$4', { skipBinary: true }
))
.pipe(replace(
@ -43,7 +43,7 @@ gulp.task('prepare', () => {
const material = gulp.src([
'**', '!package.json'
], {
cwd: 'node_modules/shower-material'
cwd: 'node_modules/@shower/material'
})
.pipe(rename( (path) => {
path.dirname = 'shower/themes/material/' + path.dirname;
@ -52,7 +52,7 @@ gulp.task('prepare', () => {
const ribbon = gulp.src([
'**', '!package.json'
], {
cwd: 'node_modules/shower-ribbon'
cwd: 'node_modules/@shower/ribbon'
})
.pipe(rename( (path) => {
path.dirname = 'shower/themes/ribbon/' + path.dirname;

View File

@ -4,7 +4,7 @@
<title>Shower Presentation Engine</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/shower-ribbon/styles/styles.css">
<link rel="stylesheet" href="node_modules/@shower/ribbon/styles/styles.css">
<style>
.shower {
--slide-ratio: calc(16 / 9);