Skip to content

Commit

Permalink
fix: gulpfile config
Browse files Browse the repository at this point in the history
  • Loading branch information
JAHMCRIBM committed Sep 12, 2024
1 parent 5329e40 commit 13a15e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion ui/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"></script>', '.js" inline></script>'))
.pipe(replace('rel="stylesheet">', 'rel="stylesheet" inline>'))
.pipe(replace('.css">', '.css" inline>'))
.pipe(
inlinesource({
compress: false,
Expand Down

0 comments on commit 13a15e3

Please sign in to comment.