File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import {
1919import { ISchemaProperties , IWebpackOptions } from "./types" ;
2020import entryQuestions from "./utils/entry" ;
2121
22+ // tslint:disable:no-var-requires
2223const webpackDevServerSchema = require ( "webpack-dev-server/lib/options.json" ) ;
2324const webpackSchema = require ( "./utils/optionsSchema.json" ) ;
2425const PROPS : string [ ] = Array . from ( PROP_TYPES . keys ( ) ) ;
Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ export default function modifyHelperUtil(
122122 configModule ,
123123 ) ;
124124 return runTransform ( transformConfig , action ) ;
125- } ) . catch ( err => {
126- console . error ( chalk . red ( ' \nUnexpected Error, please file an issue to https://github.com/webpack/webpack-cli\n' ) ) ;
125+ } ) . catch ( ( err ) => {
126+ console . error ( chalk . red ( " \nUnexpected Error, please file an issue to https://github.com/webpack/webpack-cli\n" ) ) ;
127127 console . error ( err ) ;
128128 } ) ;
129129}
You can’t perform that action at this time.
0 commit comments