diff --git a/config/index.js b/config/index.js index 625bca6..64114fd 100755 --- a/config/index.js +++ b/config/index.js @@ -178,7 +178,7 @@ export default { topLevelAwait: true, }, // bail: false, - // cache: {} + // cache: { type: "filesystem", profile: true }, // ignoreWarnings: null, // loader: {}, // parallelism: 100, diff --git a/config/server.js b/config/server.js index f0df65a..01f827c 100644 --- a/config/server.js +++ b/config/server.js @@ -3,37 +3,38 @@ import { join } from "path"; import { PATHS, ROOT } from "./config.js"; export default { + // allowedHosts: "all", // bonjour: false, - // client: {}, - compress: true, - dev: { + client: { + logging: "info", + overlay: false, + progress: true, + }, + // compress: true, + devMiddleware: { publicPath: "/", }, - // firewall: ['192.168.0.1', 'domain.com'] - firewall: false, // headers: { // "X-Custom-Foo": "bar" // }, - port: 8080, historyApiFallback: true, - hot: true, - http2: true, + // host: "local-ip", + // hot: true, + // http2: true, https: true, - // injectClient: false, - // injectHot: false, + // ipc: true, liveReload: true, // onAfterSetupMiddleware: () => {}, // onBeforeSetupMiddleware(server) {}, // onListening: () => {}, open: true, - // openPage: ['/different/page1', '/different/page2'], + // port: 8080, // proxy: { // "/api": "http://localhost:3000" // }, - // public: "myapp.test:80", setupExitSignals: true, - // static: path.join(ROOT, PATHS.get("dist")), - static: PATHS.get("dist"), - transportMode: "ws", // "sockjs", + static: join(ROOT, PATHS.get("dist")), + // static: PATHS.get("dist"), watchFiles: [join(ROOT, PATHS.get("src"), "**/*.{ejs,html}")], + // webSocketServer: "", };