20const {printGrid} = require('./print-helpers');
21const fs = require('fs');
22▶const JSON_OUT = (function () {
23 const arg = process.argv.find(function (a) {
24 return a.startsWith('--json-out=');
· · ·
23▶ const arg = process.argv.find(function (a) {
24 return a.startsWith('--json-out=');
25 });
· · ·
32// ---------------------------------------------------------------------------
33
34▶function build() {
35 const config = require('./webpack.config');
36 return new Promise(function (resolve, reject) {
· · ·
36▶ return new Promise(function (resolve, reject) {
37 webpack(config, function (err, stats) {
38 if (err) {
· · ·
37▶ webpack(config, function (err, stats) {
38 if (err) {
39 reject(err);
+ 28 more matches in this file