File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,24 +5,9 @@ import * as path from "path";
55import * as yeoman from "yeoman-environment" ;
66import * as Generator from "yeoman-generator" ;
77
8+ import { TransformConfig } from "./types/Config" ;
89import runTransform from "./scaffold" ;
910
10- export interface Config extends Object {
11- item ?: {
12- name : string ;
13- } ;
14- topScope ?: string [ ] ;
15- configName ?: string ;
16- merge : object ;
17- webpackOptions : object ;
18- }
19-
20- export interface TransformConfig extends Object {
21- configPath ?: string ;
22- configFile ?: string ;
23- config ?: Config ;
24- }
25-
2611const DEFAULT_WEBPACK_CONFIG_FILENAME = "webpack.config.js" ;
2712
2813/**
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as path from "path";
55import { findProjectRoot } from "./path-utils" ;
66
77import { Error } from "../init/types" ;
8- import { Config , TransformConfig } from "./modify-config-helper " ;
8+ import { Config , TransformConfig } from "./types/Config " ;
99import propTypes from "./prop-types" ;
1010import astTransform from "./recursive-parser" ;
1111import runPrettier from "./run-prettier" ;
Original file line number Diff line number Diff line change 1+ export interface Config extends Object {
2+ item ?: {
3+ name : string ;
4+ } ;
5+ topScope ?: string [ ] ;
6+ configName ?: string ;
7+ merge : object ;
8+ webpackOptions : object ;
9+ }
10+
11+ export interface TransformConfig extends Object {
12+ configPath ?: string ;
13+ configFile ?: string ;
14+ config ?: Config ;
15+ }
You can’t perform that action at this time.
0 commit comments