1
Fork 0

Sort out the imports

This commit is contained in:
Jake Howard 2019-06-29 17:56:02 +01:00
parent 63389c7daa
commit f27b1e2232
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,16 +1,18 @@
import Bundler from 'parcel-bundler';
import { join, dirname } from 'path';
import rimraf from 'rimraf';
import { readFileSync, writeFileSync } from 'fs'; import { readFileSync, writeFileSync } from 'fs';
import Handlebars from 'handlebars'; import Handlebars from 'handlebars';
import mkdirp from 'mkdirp'; import mkdirp from 'mkdirp';
import { range } from 'underscore'; import Bundler from 'parcel-bundler';
import { dirname, join } from 'path';
import ProgressBar from 'progress'; import ProgressBar from 'progress';
import rimraf from 'rimraf';
import { range } from 'underscore';
const BUILD_DIR = join(__dirname, 'build'); const BUILD_DIR = join(__dirname, 'build');
const SRC_DIR = join(__dirname, 'src'); const SRC_DIR = join(__dirname, 'src');
const PROGRESS_BAR_FORMAT = '[:bar] :rate/ps :percent :current/:total'; const PROGRESS_BAR_FORMAT = '[:bar] :rate/ps :percent :current/:total';
const MAX_VALUE = process.env.MAX_VALUE ? parseInt(process.env.MAX_VALUE) : 10; const MAX_VALUE = process.env.MAX_VALUE
? parseInt(process.env.MAX_VALUE, 10)
: 10;
const BUNDLER_OPTIONS = { const BUNDLER_OPTIONS = {
outDir: BUILD_DIR, outDir: BUILD_DIR,