From 930c7526611c9bf245decf6f751f9838d78f37aa Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Thu, 3 Aug 2017 15:06:55 -0700 Subject: [PATCH] fix compile issues --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 987ebef..d2c7509 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -39,7 +39,7 @@ const moduleTasks = modules.map((m) => { return rollup({ entry: `tests/module/${m}.js`, format: 'iife', - moduleName: m + moduleName: m.replace(/-/g, '_') }) .pipe(source(`${m}.js`, 'tests/module')) .pipe(gulp.dest('./tests/module/generated')) @@ -83,7 +83,7 @@ function debugify(entry) { return rollup({ entry: `entrypoints/${entry}.js`, format: 'iife', - moduleName: '${entry}', + moduleName: `${entry}`.replace(/-/g, '_'), }) .pipe(source(`${entry}.js`, 'entrypoints')) .pipe(buffer())