Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"use strict";
import fs from 'fs';
import path from 'path';
import gulp from 'gulp';
import sourcemaps from 'gulp-sourcemaps';
import util from 'gulp-util'
import sass from 'gulp-sass';
import cleanCSS from 'gulp-clean-css';
import moduleImporter from 'sass-module-importer';
import babel from 'gulp-babel';
import merge from 'merge-stream';
import { gulp as closureGulp } from 'google-closure-compiler-js';
const closureCompiler = closureGulp();
var paths = {
inBase: './spongeauth/static',
outBase: './spongeauth/static-build',
styles: '/styles',
fonts: '/fonts',
scripts: '/scripts',
inputScripts: ['u2f/u2f-api.js', 'app.js'],
images: '/images',
};
const production = !!util.env.production;