mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
Updated dev dependencies
This commit is contained in:
+3
-3
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user