add Artplayer.DEGUG

This commit is contained in:
Harvey committed 2022-10-08 09:51:49 +08:00
1 parent eda1fab811
commit 500acc2444
19 files changed
+198 -201

No files matched your search

+4 -2
View File
@@ -3,10 +3,12 @@ import path from 'path';
import servor from 'servor';
import prompts from 'prompts';
import { fileURLToPath } from 'url';
import projects from './projects.js';
import { Parcel } from '@parcel/core';
import { formatDate, getProjects } from './utils.js';
import openBrowser from 'servor/utils/openBrowser.js';
const projects = getProjects();
async function develop(name) {
let isOpenBrowser = false;
const uncompiledPath = path.resolve(`docs/uncompiled/${name}`);
@@ -37,7 +39,7 @@ async function develop(name) {
env: {
NODE_ENV: 'development',
APP_VER: version,
BUILD_DATE: Date.now(),
BUILD_DATE: formatDate(Date.now()),
},
additionalReporters: [
{