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";
3
3
import { getPackageManager } from "@webpack-cli/utils/package-manager" ;
4
4
import { Input , List } from "@webpack-cli/webpack-scaffold" ;
5
5
// 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" ;
7
7
import * as AutoComplete from "inquirer-autocomplete-prompt" ;
8
8
import path , { resolve } from "path" ;
9
9
import glob from "glob-all" ;
@@ -20,7 +20,7 @@ import { SchemaProperties, WebpackOptions } from "./types";
20
20
import entryQuestions from "./utils/entry" ;
21
21
import { generatePluginName } from "./utils/plugins" ;
22
22
// eslint-disable-next-line
23
- export const webpackSchema = require ( "../optionsSchema.json" ) ;
23
+ import webpackSchema from "../optionsSchema.json" ;
24
24
25
25
/**
26
26
*
You can’t perform that action at this time.
0 commit comments