mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 06:26:16 -08:00
add Artplayer.DEGUG
This commit is contained in:
1 parent
eda1fab811
commit
500acc2444
19 files changed
+198
-201
No files matched your search
+4
-2
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user