From 13a15e3840f969cf3a085d8215a484cd0744760a Mon Sep 17 00:00:00 2001 From: Jordy Herrera Mussio Date: Thu, 12 Sep 2024 17:08:59 -0600 Subject: [PATCH] fix: gulpfile config --- package-lock.json | 4 ++-- ui/gulpfile.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f11aa7..abea69c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ibm-aspera/connect-sdk-js", - "version": "5.0.1", + "version": "5.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ibm-aspera/connect-sdk-js", - "version": "5.0.1", + "version": "5.0.2", "license": "Apache-2.0", "dependencies": { "es6-promise": "^4.2.8", diff --git a/ui/gulpfile.js b/ui/gulpfile.js index c1e046c..a9fd8c8 100644 --- a/ui/gulpfile.js +++ b/ui/gulpfile.js @@ -5,8 +5,10 @@ const replace = require("gulp-replace"); gulp.task("default", () => { return gulp .src("./dist/*.html") + .pipe(replace('type="module" ', '')) + .pipe(replace('crossorigin ', '')) .pipe(replace('.js">', '.js" inline>')) - .pipe(replace('rel="stylesheet">', 'rel="stylesheet" inline>')) + .pipe(replace('.css">', '.css" inline>')) .pipe( inlinesource({ compress: false,