Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: json module resolve
  • Loading branch information
evenstensberg committed May 30, 2019
1 parent edf1d5c commit 61697b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/generators/add-generator.ts
Expand Up @@ -12,8 +12,8 @@ import { AutoComplete, Confirm, Input, List } from "@webpack-cli/webpack-scaffol
import { SchemaProperties, WebpackOptions } from "./types";
import entryQuestions from "./utils/entry";
import { generatePluginName } from "./utils/plugins";
import webpackDevServerSchema from "webpack-dev-server/lib/options.json";
import webpackSchema from "./utils/optionsSchema.json";
import * as webpackDevServerSchema from "webpack-dev-server/lib/options.json";
import * as webpackSchema from "./utils/optionsSchema.json";
const PROPS: string[] = Array.from(PROP_TYPES.keys());


Expand Down
3 changes: 2 additions & 1 deletion tsconfig.base.json
Expand Up @@ -4,7 +4,8 @@
"module": "commonjs",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
"skipLibCheck": true,
"resolveJsonModule": true,
},
"include": ["packages/**/*.ts"],
"exclude": [
Expand Down

0 comments on commit 61697b8

Please sign in to comment.