Commit 82712d4c authored by Vadim Makeev's avatar Vadim Makeev

Update paths

parent c5721f63
...@@ -23,7 +23,7 @@ gulp.task('prepare', () => { ...@@ -23,7 +23,7 @@ gulp.task('prepare', () => {
'!package-lock.json' '!package-lock.json'
]) ])
.pipe(replace( .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 } '$1shower/themes/$3/$4', { skipBinary: true }
)) ))
.pipe(replace( .pipe(replace(
...@@ -43,7 +43,7 @@ gulp.task('prepare', () => { ...@@ -43,7 +43,7 @@ gulp.task('prepare', () => {
const material = gulp.src([ const material = gulp.src([
'**', '!package.json' '**', '!package.json'
], { ], {
cwd: 'node_modules/shower-material' cwd: 'node_modules/@shower/material'
}) })
.pipe(rename( (path) => { .pipe(rename( (path) => {
path.dirname = 'shower/themes/material/' + path.dirname; path.dirname = 'shower/themes/material/' + path.dirname;
...@@ -52,7 +52,7 @@ gulp.task('prepare', () => { ...@@ -52,7 +52,7 @@ gulp.task('prepare', () => {
const ribbon = gulp.src([ const ribbon = gulp.src([
'**', '!package.json' '**', '!package.json'
], { ], {
cwd: 'node_modules/shower-ribbon' cwd: 'node_modules/@shower/ribbon'
}) })
.pipe(rename( (path) => { .pipe(rename( (path) => {
path.dirname = 'shower/themes/ribbon/' + path.dirname; path.dirname = 'shower/themes/ribbon/' + path.dirname;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<title>Shower Presentation Engine</title> <title>Shower Presentation Engine</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <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> <style>
.shower { .shower {
--slide-ratio: calc(16 / 9); --slide-ratio: calc(16 / 9);
......
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