Comparing version 0.4.27 to 0.4.28
@@ -76,5 +76,7 @@ "use strict"; | ||
if (overrides[name]) { | ||
builders[name].config = spin.mergeWithStrategy({ | ||
var strategy = { | ||
entry: 'replace' | ||
}, builders[name].config, overrides[name]); | ||
}; | ||
builder.config = spin.mergeWithStrategy(strategy, builder.config, overrides[name]); | ||
builder.config = spin.mergeWithStrategy(strategy, builder.config, builder.webpackConfig); | ||
} | ||
@@ -81,0 +83,0 @@ }; |
@@ -213,3 +213,3 @@ "use strict"; | ||
}, devServer: __assign({}, baseDevServerConfig, { port: webpackDevPort }) }); | ||
if (spin.options.ssr) { | ||
if (spin.options.devProxy || builder.devProxy) { | ||
config.devServer.proxy = { | ||
@@ -216,0 +216,0 @@ '!/*.hot-update.{json,js}': { |
{ | ||
"name": "spinjs", | ||
"version": "0.4.27", | ||
"version": "0.4.28", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "clean": "rm -rf ./lib", |
@@ -131,2 +131,3 @@ <p align="center"><a href="#"><img width="150" src="https://rawgit.com/sysgears/spinjs/master/logo.svg"></a></p> | ||
|persistGraphQL|Generate and use Apollo persistent GraphQL queries| | ||
|devProxy|Proxy all unknown requests from front-end running on Webpack during development to back-end| | ||
@@ -133,0 +134,0 @@ Each `spinjs` plugin tries to handle subset of technologies in the builder stack to configure build tools |
@@ -75,9 +75,7 @@ import * as fs from 'fs'; | ||
if (overrides[name]) { | ||
builders[name].config = spin.mergeWithStrategy( | ||
{ | ||
entry: 'replace' | ||
}, | ||
builders[name].config, | ||
overrides[name] | ||
); | ||
const strategy = { | ||
entry: 'replace' | ||
}; | ||
builder.config = spin.mergeWithStrategy(strategy, builder.config, overrides[name]); | ||
builder.config = spin.mergeWithStrategy(strategy, builder.config, builder.webpackConfig); | ||
} | ||
@@ -84,0 +82,0 @@ } |
@@ -272,3 +272,3 @@ import * as ip from 'ip'; | ||
}; | ||
if (spin.options.ssr) { | ||
if (spin.options.devProxy || builder.devProxy) { | ||
config.devServer.proxy = { | ||
@@ -275,0 +275,0 @@ '!/*.hot-update.{json,js}': { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167
304081