File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import npmExists from "@webpack-cli/utils/npm-exists";
33import { getPackageManager } from "@webpack-cli/utils/package-manager" ;
44import { Input , List } from "@webpack-cli/webpack-scaffold" ;
55// eslint-disable-next-line
6- export const webpackDevServerSchema = require ( "webpack-dev-server/lib/options.json" ) ;
6+ import webpackDevServerSchema from "webpack-dev-server/lib/options.json" ;
77import * as AutoComplete from "inquirer-autocomplete-prompt" ;
88import path , { resolve } from "path" ;
99import glob from "glob-all" ;
@@ -20,7 +20,7 @@ import { SchemaProperties, WebpackOptions } from "./types";
2020import entryQuestions from "./utils/entry" ;
2121import { generatePluginName } from "./utils/plugins" ;
2222// eslint-disable-next-line
23- export const webpackSchema = require ( "../optionsSchema.json" ) ;
23+ import webpackSchema from "../optionsSchema.json" ;
2424
2525/**
2626 *
You can’t perform that action at this time.
0 commit comments