Skip to content

Commit

Permalink
Core path update (#49)
Browse files Browse the repository at this point in the history
* Update path to shower/core
* Update dependencies

Co-authored-by: Nikolay Govorov <[email protected]>
  • Loading branch information
Vadim Makeev and Nikolay Govorov authored Apr 17, 2020
1 parent 7b9b04b commit 2c34567
Show file tree
Hide file tree
Showing 4 changed files with 5,113 additions and 2,228 deletions.
6 changes: 3 additions & 3 deletions core/lib/presentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ function loadPresentationFiles (files = defaultFiles) {
'$1shower/themes/$3/$4', { skipBinary: true }
))
.pipe(replace(
/(<script src=")(node_modules\/@shower\/core\/)(shower.min.js"><\/script>)/g,
/(<script src=")(node_modules\/@shower\/core\/dist\/)(shower.js"><\/script>)/g,
'$1shower/$3', { skipBinary: true }
))

const core = vfs.src([
'shower.min.js'
'shower.js'
], {
cwd: 'node_modules/@shower/core'
cwd: 'node_modules/@shower/core/dist'
})
.pipe(rename((path) => {
path.dirname = 'shower/' + path.dirname
Expand Down
Loading

0 comments on commit 2c34567

Please sign in to comment.