Update paths
This commit is contained in:
parent
c5721f631e
commit
82712d4ca3
|
@ -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', () => {
|
||||||
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', () => {
|
||||||
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 @@
|
||||||
<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);
|
||||||
|
|
Loading…
Reference in New Issue