subapp-server
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -11,8 +11,3 @@ "use strict"; | ||
const optionalRequire = require("optional-require")(require); | ||
const { | ||
settings = {}, | ||
devServer = {}, | ||
fullDevServer = {}, | ||
httpDevServer = {} | ||
} = optionalRequire("@xarc/app-dev/config/dev-proxy", { default: {} }); | ||
const getDevProxy = optionalRequire("@xarc/app-dev/config/get-dev-proxy"); | ||
const HttpStatusCodes = require("http-status-codes"); | ||
@@ -71,2 +66,5 @@ | ||
function getDefaultRouteOptions() { | ||
const { settings = {}, devServer = {}, fullDevServer = {}, httpDevServer = {} } = getDevProxy | ||
? getDevProxy() | ||
: {}; | ||
const { webpackDev, useDevProxy } = settings; | ||
@@ -73,0 +71,0 @@ // temporary location to write build artifacts in dev mode |
{ | ||
"name": "subapp-server", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Electrode SubApp app server support", | ||
@@ -46,3 +46,4 @@ "main": "lib/index.js", | ||
"electrode-server": "^3.0.0", | ||
"run-verify": "^1.1.2" | ||
"run-verify": "^1.1.2", | ||
"@xarc/fastify-server": "^1.1.0" | ||
}, | ||
@@ -81,3 +82,7 @@ "fyn": { | ||
"arrowParens": "avoid" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/", | ||
"access": "public" | ||
} | ||
} |
@@ -10,2 +10,4 @@ "use strict"; | ||
var _subappWeb = require("subapp-web"); | ||
/* @jsx createElement */ | ||
@@ -50,2 +52,4 @@ const RenderSubApps = (props, context) => { | ||
content: "width=device-width, initial-scale=1.0" | ||
}), (0, _template.createElement)(_subappWeb.ReserveSpot, { | ||
saveId: "headEntries" | ||
}), (0, _template.createElement)(_template.Require, { | ||
@@ -52,0 +56,0 @@ _id: "subapp-web/lib/polyfill" |
/* @jsx createElement */ | ||
import { IndexPage, createElement, Token, Require } from "../template"; | ||
import { ReserveSpot } from "subapp-web"; | ||
@@ -49,2 +50,3 @@ const RenderSubApps = (props, context) => { | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<ReserveSpot saveId="headEntries" /> | ||
<Require _id="subapp-web/lib/polyfill" /> | ||
@@ -51,0 +53,0 @@ <Token _id="META_TAGS" /> |
Sorry, the diff of this file is not supported yet
31365
745
9