Updated dev dependencies

This commit is contained in:
Francisco Hodge
2019-03-16 22:38:50 -04:00
parent 1cacd7d739
commit 719aa8783a
3 changed files with 455 additions and 139 deletions
+3 -3
View File
@@ -81,7 +81,7 @@ checkBrowsers(paths.appPath, isInteractive)
const appName = require(paths.appPackageJson).name;
const urls = prepareUrls(protocol, HOST, port);
// Create a webpack compiler that is configured with custom messages.
const compiler = createCompiler(webpack, config, appName, urls, useYarn);
const compiler = createCompiler({ webpack, config, appName, urls, useYarn });
// Load proxy config
const proxySetting = require(paths.appPackageJson).proxy;
const proxyConfig = prepareProxy(proxySetting, paths.appPublic);
@@ -106,7 +106,7 @@ checkBrowsers(paths.appPath, isInteractive)
* Handle testMode
*/
if(testMode){
compiler.plugin('done', (stats) => {
compiler.hooks.done.tap('done', (stats) => {
stats = stats.toJson();
if (stats.errors && stats.errors.length > 0) {
@@ -135,4 +135,4 @@ checkBrowsers(paths.appPath, isInteractive)
console.log(err.message);
}
process.exit(1);
});
});