Skip to content

Instantly share code, notes, and snippets.

@jeroensmink98
jeroensmink98 / angular_single_file.js
Created January 25, 2022 11:13
Compile a Angular Project to a single HTML file
// Create gulpfile.js
const gulp = require("gulp");
const inline = require("gulp-inline");
gulp.task("default", () => {
return gulp
.src("./dist/*/*.html")
.pipe(inline())
.pipe(gulp.dest("./single-dist"));
});