subapp-server
Advanced tools
Comparing version 1.2.1-beta.0 to 1.2.1
@@ -247,3 +247,3 @@ "use strict"; | ||
async function setupRoutesFromFile(srcDir, server, pluginOpts) { | ||
const { routes, topOpts } = searchRoutesFromFile(srcDir, server, pluginOpts); | ||
const { routes, topOpts } = searchRoutesFromFile(srcDir, pluginOpts); | ||
@@ -250,0 +250,0 @@ await handleFavIcon(server, topOpts); |
@@ -11,3 +11,8 @@ "use strict"; | ||
const optionalRequire = require("optional-require")(require); | ||
const getDevProxy = optionalRequire("@xarc/app-dev/config/dev-proxy"); | ||
const { | ||
settings = {}, | ||
devServer = {}, | ||
fullDevServer = {}, | ||
httpDevServer = {} | ||
} = optionalRequire("@xarc/app-dev/config/dev-proxy", { default: {} }); | ||
const HttpStatusCodes = require("http-status-codes"); | ||
@@ -66,8 +71,2 @@ | ||
function getDefaultRouteOptions() { | ||
const { | ||
settings = {}, | ||
devServer = {}, | ||
fullDevServer = {}, | ||
httpDevServer = {} | ||
} = getDevProxy ? getDevProxy() : {}; | ||
const { webpackDev, useDevProxy } = settings; | ||
@@ -74,0 +73,0 @@ // temporary location to write build artifacts in dev mode |
{ | ||
"name": "subapp-server", | ||
"version": "1.2.1-beta.0", | ||
"version": "1.2.1", | ||
"description": "Electrode SubApp app server support", | ||
@@ -80,6 +80,3 @@ "main": "lib/index.js", | ||
"arrowParens": "avoid" | ||
}, | ||
"publishConfig": { | ||
"tag": "beta" | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
30830
742