Use correct path to sparkplug

This commit is contained in:
Samuel Elliott 2019-03-17 13:00:38 +00:00
parent 5681cf2045
commit b531acfaaf
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
2 changed files with 2 additions and 9 deletions

View File

@ -17,7 +17,7 @@ const config = {
})
],
externals: {
sparkplug: 'require("./sparkplug")'
sparkplug: 'require("../core/sparkplug")'
}
};

View File

@ -84,14 +84,7 @@ gulp.task('client-pkg', function() {
]);
});
gulp.task('client-sparkplug', function() {
return pump([
gulp.src('core/dist/sparkplug.js'),
gulp.dest('release/client')
]);
});
gulp.task('client-release', gulp.parallel('client-main', 'client-pkg', 'client-sparkplug'));
gulp.task('client-release', gulp.parallel('client-main', 'client-pkg'));
// Editor