Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
abelfodil committed Jul 16, 2020
1 parent c2b3b25 commit 803335f
Show file tree
Hide file tree
Showing 115 changed files with 378,446 additions and 33,768 deletions.
56 changes: 28 additions & 28 deletions polydodo/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const gulp = require("gulp");
const gap = require("gulp-append-prepend");
const gulp = require('gulp');
const gap = require('gulp-append-prepend');

gulp.task("licenses", async function() {
// this is to add Creative Tim licenses in the production mode for the minified js
await gulp
.src("build/static/js/*chunk.js", { base: "./" })
.pipe(
gap.prependText(`/*!
gulp.task('licenses', async function () {
// this is to add Creative Tim licenses in the production mode for the minified js
await gulp
.src('build/static/js/*chunk.js', { base: './' })
.pipe(
gap.prependText(`/*!
=========================================================
* Argon Design System React - v1.1.0
Expand All @@ -22,15 +22,15 @@ gulp.task("licenses", async function() {
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/`)
)
.pipe(gulp.dest("./", { overwrite: true }));
*/`),
)
.pipe(gulp.dest('./', { overwrite: true }));

// this is to add Creative Tim licenses in the production mode for the minified html
await gulp
.src("build/index.html", { base: "./" })
.pipe(
gap.prependText(`<!--
// this is to add Creative Tim licenses in the production mode for the minified html
await gulp
.src('build/index.html', { base: './' })
.pipe(
gap.prependText(`<!--
=========================================================
* Argon Design System React - v1.1.0
Expand All @@ -46,15 +46,15 @@ gulp.task("licenses", async function() {
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-->`)
)
.pipe(gulp.dest("./", { overwrite: true }));
-->`),
)
.pipe(gulp.dest('./', { overwrite: true }));

// this is to add Creative Tim licenses in the production mode for the minified css
await gulp
.src("build/static/css/*chunk.css", { base: "./" })
.pipe(
gap.prependText(`/*!
// this is to add Creative Tim licenses in the production mode for the minified css
await gulp
.src('build/static/css/*chunk.css', { base: './' })
.pipe(
gap.prependText(`/*!
=========================================================
* Argon Design System React - v1.1.0
Expand All @@ -70,8 +70,8 @@ gulp.task("licenses", async function() {
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/`)
)
.pipe(gulp.dest("./", { overwrite: true }));
return;
*/`),
)
.pipe(gulp.dest('./', { overwrite: true }));
return;
});
Loading

0 comments on commit 803335f

Please sign in to comment.