Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
fix: createCompiler should get an Object
Browse files Browse the repository at this point in the history
  • Loading branch information
jordybulten committed Nov 21, 2019
1 parent 8860dc9 commit 5abb335
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ process.on('unhandledRejection', err => {
// Ensure environment variables are read.
require('../config/env');


const fs = require('fs');
const chalk = require('chalk');
const webpack = require('webpack');
Expand Down Expand Up @@ -78,7 +77,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);
Expand Down

0 comments on commit 5abb335

Please sign in to comment.