aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2019-02-19 01:25:39 +1100
committerSam Potts <sam@potts.es>2019-02-19 01:25:39 +1100
commit80990c98c81fcbd494bc4a14522167d9bd88341a (patch)
tree55d9a6e7d74a012e96cbe5d553b967cc7c4e5e10 /gulpfile.js
parent44d3a17870949e828e5b1a4619a30dfcb626a174 (diff)
downloadplyr-80990c98c81fcbd494bc4a14522167d9bd88341a.tar.lz
plyr-80990c98c81fcbd494bc4a14522167d9bd88341a.tar.xz
plyr-80990c98c81fcbd494bc4a14522167d9bd88341a.zip
Deployed v3.5.0
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js
index e7c50b1f..56a1e7ee 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -95,6 +95,7 @@ const paths = {
path.join(__dirname, 'dist/*.svg'),
path.join(__dirname, `demo/dist/*${minSuffix}.*`),
path.join(__dirname, 'demo/dist/*.css'),
+ path.join(__dirname, 'demo/dist/*.svg'),
],
};
@@ -139,10 +140,7 @@ gulp.task('clean', done => {
done();
});
-// JAvaScript
-
-const namespace = 'Plyr';
-
+// JavaScript
Object.entries(build.js).forEach(([filename, entry]) => {
entry.formats.forEach(format => {
const name = `js:${filename}:${format}`;
@@ -161,7 +159,7 @@ Object.entries(build.js).forEach(([filename, entry]) => {
plugins: [resolve(), commonjs(), babel(babelrc(polyfill))],
},
{
- name: namespace,
+ name: entry.namespace,
// exports: 'named',
format,
},