|
|
const fs = require('fs');
|
|
|
const path = require('path');
|
|
|
const _ = require('lodash');
|
|
|
const request = require('request');
|
|
|
const mime = require('mime');
|
|
|
const parseRange = require('range-parser');
|
|
|
const cluster = require('cluster');
|
|
|
const express = require('express');
|
|
|
const chokidar = require('chokidar');
|
|
|
const EventSource = require('eventsource');
|
|
|
const {createApp} = require('./create-app.js');
|
|
|
const {createBundleRenderer} = require('vue-server-renderer');
|
|
|
const {devServer, readFile, publish} = require('./build/dev-server.js');
|
|
|
const {devServer, publish} = require('./build/dev-server.js');
|
|
|
|
|
|
const watcher = {
|
|
|
paths: ['./apps', './create-app.js', './doraemon', './config', './utils'],
|
...
|
...
|
|